Fix width of headings in mobile editor

This also fixes CE issues arising from using display:table.

Bug: T202991
Change-Id: I39ab5d4ed9a2ace7593dd3078382f522b75f5576
This commit is contained in:
Ed Sanders 2018-08-23 22:08:12 +01:00
parent de28672cde
commit 591370c35f
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@
overflow: hidden;
}
// We don't need display:table as there are no edit/collapse buttons
// Also display:table causes CE issues in Mobile Safari (T202991)
h1, h2, h3, h4, h5 {
display: block;
}
// Styling for images (as output by Parsiod)
// These styles are mostly derived from content.parsoid.less, which the Minerva skin
// opts out of (since the styles are largely Vectorish).