Skip to content

Commit eeb1d16

Browse files
committed
comment
1 parent 5e2960f commit eeb1d16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/developer-hub/src/components/Root/fumadocs-global-style-overrides.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ Overrides for Fumadocs content. Everything after prose is MDX generated content
3535
padding-inline-start: 0 !important;
3636
}
3737

38+
/* Hacky fix to get the TOC to be sticky */
3839
#nd-toc {
39-
top: calc(var(--header-height) + 1rem) !important;
40+
top: var(--header-height) !important;
4041
height: max-content;
4142
position: sticky;
4243
margin-left: calc(-1 * var(--fd-toc-width));

0 commit comments

Comments
 (0)