FIX: iPad app sticky header positioning (#11029)

This commit is contained in:
Penar Musaraj 2020-10-26 13:53:20 -04:00 committed by GitHub
parent 1e4c0d1857
commit d9a5d563cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,21 @@ body.footer-nav-ipad {
z-index: z("ipad-header-nav") + 1;
}
&.docked .d-header {
margin-top: $footer-nav-height;
&.docked .d-header-wrap {
top: $footer-nav-height;
}
@media only screen and (orientation: landscape) {
$status-bar-padding: 12px;
padding-top: $footer-nav-height + $status-bar-padding;
.footer-nav {
padding-top: $status-bar-padding;
}
&.docked .d-header-wrap {
top: $footer-nav-height + $status-bar-padding;
}
}
}