Limit overflow-x rule to block elements

The overflow-x rule has no effect on inline elements
anyway, as documented in T134281, and it confuses
logic in VE for computing highlights.

Bug: T167438
Change-Id: Ifb9e503386c2e0bb101265310767ca9d00ad0c44
This commit is contained in:
Ed Sanders 2017-06-08 17:26:32 +01:00
parent 742afcdb8b
commit 407bfc4f3b
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ img.tex {
vertical-align: middle;
}
.mwe-math-element {
div.mwe-math-element {
overflow-x: auto;
max-width: 100%;
}