Fixes the navbar when the toolbar is displayed.

This commit is contained in:
David Valdez 2019-01-16 11:48:16 -06:00
parent 9202c18351
commit 92b5422844
2 changed files with 16 additions and 1 deletions

View file

@ -12,7 +12,7 @@
top: 0;
left: 0;
right: 0;
z-index: +999;
z-index: +400;
//
#logo .logo-color {
fill: currentColor;
@ -28,6 +28,13 @@
}
}
// If the toolbar is present, the is-fixed block must be displayed below the tool bar:
.toolbar-tray-open.toolbar-horizontal {
.is-fixed {
padding-top: 79px;
}
}
// Attempt to keep anchor targets below the fixed header rather than having its
// associated content hidden behind the header; hence the height and negative
// margin here match the fixed header height at different breakpoints.

View file

@ -34,3 +34,11 @@
top: 5.875em;
}
}
.toolbar-tray-open.toolbar-horizontal {
.floating-tabs {
@include desktop {
top: 9.875em;
}
}
}