diff --git a/custom-implementation/src/main.css b/custom-implementation/src/main.css index be0fe879..265688e3 100644 --- a/custom-implementation/src/main.css +++ b/custom-implementation/src/main.css @@ -18,20 +18,16 @@ } } -/* Constrain sidebar within fern-body but account for header -.fern-sidebar-fixed { - position: absolute !important; -} */ - #fern-docs { margin: 64px 0px !important; /* Push content below header */ } #fern-toc { - margin: 64px 0px!important; /* Push TOC below header */ + padding: 42px 0px !important; } #fern-sidebar { - margin: 32px 0px !important; /* Push TOC and sidebar below header */ + position: absolute !important; } + diff --git a/fern/docs.yml b/fern/docs.yml index 9b52942a..ece16d81 100644 --- a/fern/docs.yml +++ b/fern/docs.yml @@ -26,10 +26,10 @@ js: - path: ./dist/output.js strategy: beforeInteractive -# layout: -# searchbar-placement: sidebar -# tabs-placement: sidebar -# disable-header: true +layout: + searchbar-placement: sidebar + tabs-placement: sidebar + disable-header: true typography: bodyFont: