2026-04-12 08:58:41 +01:00
|
|
|
@import 'tailwindcss';
|
|
|
|
|
@import 'fumadocs-ui/css/neutral.css';
|
|
|
|
|
@import 'fumadocs-ui/css/preset.css';
|
|
|
|
|
|
|
|
|
|
@source "../../../packages/ui/src/**/*.{ts,tsx}";
|
2026-06-22 06:52:35 +01:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* 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);
|
|
|
|
|
}
|