Merge "Update sticky header height."
This commit is contained in:
commit
0b8c30cc25
|
@ -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%;
|
||||
|
|
Loading…
Reference in New Issue