From d183c39d06c463e8c957d669af5a7ed76c71559d Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Sun, 12 Mar 2017 11:14:37 +0000 Subject: [PATCH] Allow edit sections outside of mw-body-content Bug: T160269 Change-Id: Ib4830cde634b6ca0c3ceb0ba06831c3b4ccedfbd --- components/common.less | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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;