mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-27 23:50:30 +00:00
[Revert] "Set header height to fixed pixel"
This reverts commit 625720420e
. Setting height in
px results in variable (font-size) contents overflowing.
Change-Id: I510a4136be97ffd3f1dec63a39eec696c227ab25
This commit is contained in:
parent
28c84d7d0d
commit
1bf2f51cdf
|
@ -44,8 +44,7 @@
|
|||
@contentMargin: 16px;
|
||||
|
||||
// Header
|
||||
@headerHeight: 54px;
|
||||
@headerVerticalPadding: 0.15em;
|
||||
@headerHeight: 3.35em;
|
||||
@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: @headerVerticalPadding 0;
|
||||
padding: 0.15em 0;
|
||||
|
||||
&:last-child {
|
||||
// Reserve space to the right in case the search form in the header or
|
||||
|
|
|
@ -11,10 +11,9 @@
|
|||
|
||||
.clear {
|
||||
position: absolute;
|
||||
// the icon should take into account overlay-title top padding
|
||||
// and then be centered
|
||||
top: ( @iconSize / 2 ) + @headerVerticalPadding;
|
||||
top: ( @headerHeight / 2 ) - ( @iconSize / 2 );
|
||||
right: 0;
|
||||
margin-top: @headerMarginTop;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue