Set header height to fixed pixel

Bug: T195795
Change-Id: I4eed89f6a64eeb369c1ab0bb47f0462de7b0ceb3
This commit is contained in:
jdlrobson 2019-07-09 09:51:43 -07:00
parent e6b4f4f2b2
commit 625720420e
3 changed files with 6 additions and 4 deletions

View File

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

View File

@ -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

View File

@ -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;
}
}