From cefa56ecb9f152a58c59ff2c72cc3f51c49c615b Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 5 Sep 2024 11:21:08 +0100 Subject: [PATCH] Use fixed font size for UI componenets in Vector 22 Use rem's to set the font size of the toolbar and local/global overlays, as the font size is now variable in that skin. Bug: T373875 Change-Id: Ib2511debd01dbc0cf03ff6d92cd9bfe71078c387 --- .../ve.init.mw.DesktopArticleTarget.init-vector-2022.less | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector-2022.less b/modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector-2022.less index 2239971727..51db9ea765 100644 --- a/modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector-2022.less +++ b/modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector-2022.less @@ -5,6 +5,13 @@ * @license The MIT License (MIT); see LICENSE.txt */ +.ve-init-mw-desktopArticleTarget-toolbar, +.ve-init-mw-desktopArticleTarget-toolbarPlaceholder, +.ve-ui-overlay-local, +.ve-ui-overlay-global { + font-size: 0.875rem; +} + // Change the default shadow to not leak out from the sides // (on other skins and in TargetWidgets there are borders that cover it) .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar,