Fix font size in editor preview
Depends-On: I7eaef3ef89a23932edd5abdd74703eb3297ee061 Bug: T287733 Change-Id: I42c6a8da06d1ab9c4d546b940bc4d627b118e2a6
This commit is contained in:
parent
b196d68326
commit
058551e9b9
|
@ -70,6 +70,12 @@ pre,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: All styles here should apply to .mw-body-content eventually.
|
||||||
|
// The problem is lots of user, gadgets, styles and scripts
|
||||||
|
// make assumptions about the font-size being set on the parent .vector-body element.
|
||||||
|
// This however breaks integrations with extensions that replicate mw-body-content element
|
||||||
|
// See [[phab:T287733]].
|
||||||
|
.mw-body-content:not( #mw-content-text ),
|
||||||
.vector-body {
|
.vector-body {
|
||||||
font-size: @font-size-base;
|
font-size: @font-size-base;
|
||||||
// Support IE 9-11, Trident cuts values 2 digits after decimal point.
|
// Support IE 9-11, Trident cuts values 2 digits after decimal point.
|
||||||
|
|
Loading…
Reference in a new issue