mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 09:30:17 +00:00
Update sticky header height.
Bug: T296321 Change-Id: Ic8efa9404282a98aee37dcf9ba33a0b26d6abaff
This commit is contained in:
parent
1c96e32b6f
commit
d8eff021e1
|
@ -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 a new issue