Merge "Update sticky header height."

This commit is contained in:
jenkins-bot 2021-11-29 22:56:37 +00:00 committed by Gerrit Code Review
commit 0b8c30cc25
1 changed files with 2 additions and 2 deletions

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