Skip to content

Commit 727cf3f

Browse files
authored
Sidebar: Fix overflow missing some lines
Sidebar: Fix overflow missing some lines
2 parents 17d1dd9 + 2b2dd88 commit 727cf3f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

assets/css/v2/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,11 +647,14 @@ ol li:last-child {
647647
}
648648

649649
.sidebar__content__wrapper {
650+
flex-grow: 1;
650651
overflow-y: auto;
651652
min-height: 0;
652653
/* allows space for scrollbar */
653654
width: calc(var(--sidebar-width) - 1rem);
654655
scrollbar-gutter: stable;
656+
display: flex;
657+
flex-direction: column;
655658
}
656659
}
657660

@@ -1170,6 +1173,10 @@ nav.sidebar.sidebar__mobile-open {
11701173
grid-area: sidebar;
11711174
--color-foreground: oklch(0 0 0 / 0.75);
11721175

1176+
display: flex;
1177+
flex-direction: column;
1178+
height: 100%;
1179+
11731180
.sidebar__container,
11741181
.sidebar__container button,
11751182
.sidebar__container ul,

0 commit comments

Comments
 (0)