UX: account for iPad hub nav when calculating top (#17780)
This commit is contained in:
parent
5c2e909543
commit
afa7c1ed9b
|
@ -11,6 +11,9 @@
|
|||
grid-area: sidebar;
|
||||
position: sticky;
|
||||
top: var(--header-offset);
|
||||
.footer-nav-ipad & {
|
||||
top: calc(var(--header-offset) + var(--footer-nav-height));
|
||||
}
|
||||
height: calc(100vh - var(--header-offset));
|
||||
align-self: start;
|
||||
overflow-y: auto;
|
||||
|
|
|
@ -50,6 +50,9 @@ $topic-progress-height: 42px;
|
|||
align-self: start;
|
||||
@include sticky;
|
||||
top: calc(var(--header-offset, 60px) + 2em);
|
||||
.footer-nav-ipad & {
|
||||
top: calc(var(--header-offset, 60px) + var(--footer-nav-height) + 2em);
|
||||
}
|
||||
margin-left: 1em;
|
||||
z-index: z("timeline");
|
||||
|
||||
|
|
Loading…
Reference in New Issue