From b82cd1c9753cbdb72838bd39f56e3fcd51e0ffd7 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Wed, 30 Oct 2024 15:14:36 +0000 Subject: [PATCH] Remove side padding from toolbar dialogs in Vector 2022 Change-Id: Idcd4491c814154a2d0474eca0e076e12295b7681 --- ...init.mw.DesktopArticleTarget.init-vector-2022.less | 11 +++++++++++ 1 file changed, 11 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 51db9ea765..c5df05a1fa 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 @@ -44,3 +44,14 @@ .ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface > .ve-ce-surface .ve-ce-attachedRootNode { min-height: 15em; } + +// Vector 2022 has no side borders, so there's no need for side padding in toolbar dialogs +.ve-init-mw-desktopArticleTarget-toolbar .ve-ui-toolbarDialog-position-above.ve-ui-toolbarDialog-padded .oo-ui-window-body, +.ve-init-mw-desktopArticleTarget-toolbar .ve-ui-toolbarDialog-position-below.ve-ui-toolbarDialog-padded .oo-ui-window-body { + padding-left: 0; + padding-right: 0; +} + +.ve-init-mw-desktopArticleTarget-toolbar .ve-ui-toolbarDialog-position-side.ve-ui-toolbarDialog-padded .oo-ui-window-body { + padding-right: 0; +}