Skip to content

Commit 2241607

Browse files
committed
e
1 parent 7239bf9 commit 2241607

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

custom-implementation/src/main.css

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,16 @@
1717
display: block; /* Show the wrapper on screens larger than 1024px */
1818
}
1919
}
20-
21-
body {
22-
margin-top: 800px;
23-
margin-bottom: 800px;
20+
.fern-sidebar-fixed {
21+
position: absolute !important; /* Change from fixed to absolute */
22+
top: 0 !important; /* Start at top of fern-body */
23+
left: 0 !important;
24+
height: 100% !important; /* Full height of fern-body */
25+
overflow-y: auto !important;
2426
}
27+
28+
/* Make sure fern-body is positioned to contain the sidebar */
29+
.fern-body {
30+
position: relative !important; /* Creates positioning context */
31+
padding-top: 80px !important; /* Push content below header */
32+
}

0 commit comments

Comments
 (0)