From e1e9552bf3df4cca667aea1c27b395f14ac65017 Mon Sep 17 00:00:00 2001 From: bwang Date: Wed, 3 Aug 2022 15:52:07 -0500 Subject: [PATCH] Followup contentSub contentSub2 styling Bug: T311421 Change-Id: I4319142361b83758bbbe3c1a22e9b6ccab47352d --- .../skins.vector.styles/layouts/screen.less | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/resources/skins.vector.styles/layouts/screen.less b/resources/skins.vector.styles/layouts/screen.less index 03654d55a..f6780b750 100644 --- a/resources/skins.vector.styles/layouts/screen.less +++ b/resources/skins.vector.styles/layouts/screen.less @@ -96,16 +96,6 @@ body { } } -#siteSub { - margin-top: 8px; // T311564 -} - -#contentSub, -#contentSub2 { - // T311564: Override core styles to apply margin-top rather than margin-bottom - margin: 8px 0 0 1em !important; // stylelint-disable-line declaration-no-important -} - .mw-header { // allow z-index to apply so search results overlay article position: relative; @@ -139,6 +129,17 @@ body { .vector-body { position: relative; z-index: @z-index-base; + + #siteSub { + margin-top: 8px; // T311564 + } + + #contentSub, + #contentSub2 { + // T311564: Override core styles to apply margin-top rather than margin-bottom + margin-top: 8px; + margin-bottom: 0; + } } /* Navigation Containers */