Update sticky header height.

Bug: T296321
Change-Id: Ic8efa9404282a98aee37dcf9ba33a0b26d6abaff
This commit is contained in:
Clare Ming 2021-11-24 14:20:31 -07:00
parent 1c96e32b6f
commit d8eff021e1

View file

@ -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%;