From d008a3bc7c21ed4ae3e59fc680d7fd229b55c8c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Wed, 6 May 2015 17:08:49 +0000 Subject: [PATCH] Revert "Be more selective in application of 0.8em font size" Causes more problems than it fixes. This reverts commit cab44b55efe5c1fa8b862375c58f20c1b33941d9. Bug: T98193 Change-Id: Id40919ceda36a665e23c6f84965a3b979bb33289 --- .../styles/ve.init.mw.ViewPageTarget-vector.css | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css index 67f1e28281..5bb54ea737 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css +++ b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css @@ -5,14 +5,6 @@ * @license The MIT License (MIT); see LICENSE.txt */ -.ve-init-mw-viewPageTarget-surface, -.ve-init-mw-viewPageTarget-toolbar, -.ve-init-target > .ve-ui-debugBar, -.ve-ui-overlay-global { - /* Enforce different font-size for all UI elements of VisualEditor */ - font-size: 0.8em; -} - .ve-init-mw-viewPageTarget-surface { /* In order to allow placing the text cursor to the start or end of the text by @@ -31,6 +23,12 @@ padding: 0 1.143em; /* surface-margin-left (1em) / (mw-body-content font-size) 0.875em */ } +.ve-init-target, +.ve-ui-overlay-global { + /* Enforce different font-size for all UI elements of VisualEditor */ + font-size: 0.8em; +} + .ve-init-target .mw-body-content, .ve-ui-overlay-global .mw-body-content { /* Match skin's font-size for the surface content */