Skip to content

Commit 3bb46ec

Browse files
committed
update: sidebar top alignment on tablet and small viewports.
1 parent eb53d79 commit 3bb46ec

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/lib/components/sidebar.svelte

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,14 @@
378378
&.no-transitions :global(nav) {
379379
transition: none !important;
380380
}
381+
382+
& :global(nav) {
383+
@media (max-width: 1023px) {
384+
top: var(--banner-spacing, 0px);
385+
margin-top: var(--banner-spacing, 0px);
386+
height: calc(100vh - var(--banner-spacing, 0px)) !important;
387+
}
388+
}
381389
}
382390
383391
.middle-container {

0 commit comments

Comments
 (0)