Merge "Generalize SearchOverlay styles to all "header-chrome" overlays"

This commit is contained in:
jenkins-bot 2019-09-17 00:40:47 +00:00 committed by Gerrit Code Review
commit d61e1f7fb7
2 changed files with 12 additions and 8 deletions

View file

@ -22,9 +22,17 @@
.overlay-header {
height: @overlayHeaderHeight;
.header-chrome & {
height: @siteHeaderHeight;
}
.mw-ui-anchor,
.mw-ui-button {
height: @overlayHeaderHeight;
.header-chrome & {
height: @siteHeaderHeight;
}
}
.overlay-title {
@ -42,6 +50,10 @@
.overlay-header-container + .overlay-content {
padding-top: @overlayHeaderHeight;
.header-chrome& {
padding-top: @siteHeaderHeight;
}
}
@media all and ( min-width: @width-breakpoint-desktop ) {

View file

@ -9,14 +9,6 @@
top: @siteHeaderHeight;
}
.header {
height: @siteHeaderHeight;
}
.overlay-header-container + .overlay-content {
padding-top: @siteHeaderHeight;
}
.clear {
position: absolute;
top: 0.5em;