fix: user as student in one org forced to lms, hidden bottom in docs
This commit is contained in:
@@ -3,3 +3,14 @@
|
||||
@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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user