mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
Apply typography rules to .mw-body-content
elements outside .vector-body
Bug: T287733 Change-Id: Ib737f215104b2aa234bf694e734de12fccff2fc3
This commit is contained in:
parent
43f6b74b6b
commit
da832cc53d
|
@ -70,6 +70,13 @@ pre,
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME:
|
||||
// Ideally these rules should apply only to .mw-body-content
|
||||
// However this requires a #user-notice and community consultation
|
||||
// to prepare gadget developers for this potential disruptive change.
|
||||
// The `:not` pseudo class is used for now, to handle cases
|
||||
// where multiple mw-body-content elements appear in the page.
|
||||
.mw-body-content:not( .vector-body .mw-body-content ),
|
||||
.vector-body {
|
||||
font-size: @font-size-base;
|
||||
// Support IE 9-11, Trident cuts values 2 digits after decimal point.
|
||||
|
|
Loading…
Reference in a new issue