mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Set header height to fixed pixel
Bug: T195795 Change-Id: I4eed89f6a64eeb369c1ab0bb47f0462de7b0ceb3
This commit is contained in:
parent
e6b4f4f2b2
commit
625720420e
|
@ -44,7 +44,8 @@
|
|||
@contentMargin: 16px;
|
||||
|
||||
// Header
|
||||
@headerHeight: 3.35em;
|
||||
@headerHeight: 54px;
|
||||
@headerVerticalPadding: 0.15em;
|
||||
@headerMarginTop: -1px; // used to hide the header border top when a banner is not present
|
||||
@searchBoxWidth: 375/16em;
|
||||
@iconSizeTotal: @iconSize + @iconGutterWidth + @iconGutterWidth;
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
}
|
||||
|
||||
.overlay-header .overlay-title {
|
||||
padding: 0.15em 0;
|
||||
padding: @headerVerticalPadding 0;
|
||||
|
||||
&:last-child {
|
||||
// Reserve space to the right in case the search form in the header or
|
||||
|
|
|
@ -11,9 +11,10 @@
|
|||
|
||||
.clear {
|
||||
position: absolute;
|
||||
top: ( @headerHeight / 2 ) - ( @iconSize / 2 );
|
||||
// the icon should take into account overlay-title top padding
|
||||
// and then be centered
|
||||
top: ( @iconSize / 2 ) + @headerVerticalPadding;
|
||||
right: 0;
|
||||
margin-top: @headerMarginTop;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue