Skip to content

Commit 49392f9

Browse files
committed
sidebar fix
1 parent 65d0c76 commit 49392f9

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

custom-implementation/src/main.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@
1717
display: block; /* Show the wrapper on screens larger than 1024px */
1818
}
1919
}
20-
body {
21-
margin-top: 60px; /* Adjust this value to match your header height */
22-
margin-bottom: 60px
20+
21+
.fern-sidebar-container {
22+
top: 60px; /* Adjust to your header height */
23+
height: calc(100vh - 60px); /* Subtract header height from full viewport */
24+
}
25+
26+
/* Also push the main content down */
27+
.fern-main {
28+
margin-top: 60px; /* Adjust to your header height */
2329
}

0 commit comments

Comments
 (0)