From d8eff021e16a8eff5f7bff4e44a3a76f2435e9b1 Mon Sep 17 00:00:00 2001 From: Clare Ming Date: Wed, 24 Nov 2021 14:20:31 -0700 Subject: [PATCH] Update sticky header height. Bug: T296321 Change-Id: Ic8efa9404282a98aee37dcf9ba33a0b26d6abaff --- resources/skins.vector.styles/components/StickyHeader.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/skins.vector.styles/components/StickyHeader.less b/resources/skins.vector.styles/components/StickyHeader.less index 9ad45b7c2..545ac569c 100644 --- a/resources/skins.vector.styles/components/StickyHeader.less +++ b/resources/skins.vector.styles/components/StickyHeader.less @@ -1,12 +1,12 @@ @import '../../common/variables.less'; @import 'mediawiki.mixins.less'; -// Set an explicit height. This is needed for scroll padding and for other +// T296321 Set an explicit height. This is needed for scroll padding and for other // sticky elements on the page. Setting the height in relative units enables // the header's height to adapt to the browser's font size setting. Because // this variable is used to determine top offsets for sticky elements where the // font-size might not be 16px, using rem avoids the cascading effects of em units. -@height-sticky-header: unit( 60px / @font-size-browser, rem ); +@height-sticky-header: unit( 50px / @font-size-browser, rem ); .vector-sticky-header { width: 100%;