From 69658483bd4b9888b38c12fba3a7117e1283fdc5 Mon Sep 17 00:00:00 2001 From: Jon Robson Date: Wed, 31 Aug 2022 13:07:05 -0700 Subject: [PATCH] Reduce specificity of siteSub Follow up to I8ab2a554f753348ea2fb0fd4d28053ea17fbe83e It should be possible to enable the #siteSub element with a simple #siteSub { display: block; }. When moving these styles from core we have made them more specific and harder to override Bug: T316027 Change-Id: I4009c67e97ed0e718c28a1fa18c0059075b7a8a7 --- resources/skins.vector.styles/layouts/screen.less | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/resources/skins.vector.styles/layouts/screen.less b/resources/skins.vector.styles/layouts/screen.less index 96bc1a53..41c97df5 100644 --- a/resources/skins.vector.styles/layouts/screen.less +++ b/resources/skins.vector.styles/layouts/screen.less @@ -81,13 +81,16 @@ body { float: right; } +#siteSub { + // By default its hidden as it was hidden in Vector legacy but site styles can reveal. + display: none; +} + .vector-body { position: relative; z-index: @z-index-base; #siteSub { - // By default its hidden as it was hidden in Vector legacy but site styles can reveal. - display: none; margin-top: 8px; // T311564 }