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 */