mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:16:08 +08:00
FIX: iPad app sticky header positioning (#11029)
This commit is contained in:
parent
1e4c0d1857
commit
d9a5d563cf
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user