Skip to content

Commit 1deebc1

Browse files
fix: testing laptop screen for missing components (#276)
* testing laptop screen * added debugging logging * more logging * logging to determine render or css issue * remove logging and add docs.yml * added styling for toc and sidebar * added margin bottom for sidebar to stop overlap with footer * fixed sidebar? * trying sidebar contraints * added contraints for sidebar * trying pos absolute * padding not needed --------- Co-authored-by: Ryan Amirthan <[email protected]>
1 parent 9df921a commit 1deebc1

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

custom-implementation/src/main.css

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,16 @@
1818
}
1919
}
2020

21-
/* Constrain sidebar within fern-body but account for header
22-
.fern-sidebar-fixed {
23-
position: absolute !important;
24-
} */
25-
2621
#fern-docs {
2722
margin: 64px 0px !important; /* Push content below header */
2823
}
2924

3025
#fern-toc {
31-
margin: 64px 0px!important; /* Push TOC below header */
26+
padding: 42px 0px !important;
3227
}
3328

3429
#fern-sidebar {
35-
margin: 32px 0px !important; /* Push TOC and sidebar below header */
30+
position: absolute !important;
3631
}
3732

33+

fern/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ js:
2626
- path: ./dist/output.js
2727
strategy: beforeInteractive
2828

29-
# layout:
30-
# searchbar-placement: sidebar
31-
# tabs-placement: sidebar
32-
# disable-header: true
29+
layout:
30+
searchbar-placement: sidebar
31+
tabs-placement: sidebar
32+
disable-header: true
3333

3434
typography:
3535
bodyFont:

0 commit comments

Comments
 (0)