Skip to content

Commit 2c745fb

Browse files
committed
fix(fern): prevent sidebar nav clipping
Keep the desktop sidebar height within the visible viewport so the last navigation items remain reachable below the header and announcement bar.
1 parent 176cb9e commit 2c745fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fern/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ html[data-theme=dark] {
245245
/* Sidebar styling */
246246
#fern-sidebar {
247247
border-right: 1px solid var(--border, var(--grayscale-a5)) !important;
248-
height: 100vh !important;
248+
height: calc(100vh - var(--header-height)) !important;
249249
}
250250
.fern-sidebar-link:not(:hover){
251251
background-color: transparent !important;

0 commit comments

Comments
 (0)