From 9898b7ea2c859f5573ea716a4999d673622ebe92 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 22 Apr 2016 12:41:25 +0100 Subject: [PATCH] Move monobook global overlay styles to generic DesktopTarget Fixes the font size in non-article desktop targets, e.g. Flow. Change-Id: I8f7e0af5061ef5dda2564b62e9b94e606ca77799 --- .../init/styles/ve.init.mw.DesktopArticleTarget-monobook.css | 5 ----- .../ve-mw/init/styles/ve.init.mw.DesktopTarget-monobook.css | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-monobook.css b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-monobook.css index cda0b90e92..e1a0208e29 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-monobook.css +++ b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-monobook.css @@ -5,11 +5,6 @@ * @license The MIT License (MIT); see LICENSE.txt */ -.ve-ui-overlay-global { - /* Enforce different font-size for all UI elements of VisualEditor */ - font-size: 1.28em; /* 0.8em / x-small */ -} - .ve-init-mw-desktopArticleTarget { /* Enforce different font-size for all UI elements of VisualEditor. The difference is tiny, but enough to make the icon containers 23.813px rather than 24px and thus the icons blurry */ diff --git a/modules/ve-mw/init/styles/ve.init.mw.DesktopTarget-monobook.css b/modules/ve-mw/init/styles/ve.init.mw.DesktopTarget-monobook.css index c3cb9050e7..bffdaa1436 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.DesktopTarget-monobook.css +++ b/modules/ve-mw/init/styles/ve.init.mw.DesktopTarget-monobook.css @@ -5,6 +5,11 @@ * @license The MIT License (MIT); see LICENSE.txt */ +.ve-ui-overlay-global { + /* Enforce different font-size for all UI elements of VisualEditor */ + font-size: 1.28em; /* 0.8em / x-small */ +} + .mw-body a.external.ve-ce-linkAnnotation-active { /* Reset -2px from VE-core */ margin-right: 0;