Files
classroomio/apps/docs/app/app.css
T

17 lines
627 B
CSS
Raw Normal View History

@import 'tailwindcss';
@import 'fumadocs-ui/css/neutral.css';
@import 'fumadocs-ui/css/preset.css';
@source "../../../packages/ui/src/**/*.{ts,tsx}";
/*
* The docs layout is nested inside HomeLayout, whose navbar is `sticky h-14 top-0`
* (3.5rem) but does not expose its height to the docs layout. Fumadocs hardcodes
* `--fd-docs-height: 100dvh`, so the sidebar and TOC end up 3.5rem taller than the
* visible area and their bottom (footer / last nav items) is clipped below the fold.
* Subtract the navbar height so both columns can scroll to the end.
*/
#nd-docs-layout {
--fd-docs-height: calc(100dvh - 3.5rem);
}