diff --git a/components/common.less b/components/common.less index 2559a9bd9..c79788f35 100644 --- a/components/common.less +++ b/components/common.less @@ -129,11 +129,6 @@ body { font-size: 100%; /* (reset) */ } - .mw-editsection, - .mw-editsection-like { - font-family: @content-font-family; - } - #toc h2, .toc h2 { font-size: 100%; /* (reset) */ @@ -141,6 +136,12 @@ body { } } +/* Allow edit sections outside of mw-body-content (T160269) */ +.mw-editsection, +.mw-editsection-like { + font-family: @content-font-family; +} + /* Hide empty portlets */ div.emptyPortlet { display: none;