Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,15 @@ Overrides for Fumadocs content. Everything after prose is MDX generated content

#nd-sidebar {
--fd-sidebar-top: var(--header-height) !important;
position: sticky !important;
height: calc(100vh - var(--header-height));
}

#nd-docs-layout {
flex-direction: row !important;
padding-inline-start: 0 !important;
}

#nd-toc {
top: calc(var(--header-height) + 1rem) !important;
}
5 changes: 1 addition & 4 deletions packages/component-library/src/AppShell/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
}

.body {
background: black;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
scroll-behavior: smooth;
Expand All @@ -33,9 +32,7 @@
background: theme.color("background", "primary");
border-top-left-radius: calc(var(--offset) * theme.border-radius("xl"));
border-top-right-radius: calc(var(--offset) * theme.border-radius("xl"));
overflow: hidden auto;
transform: scale(calc(100% - (var(--offset) * 5%)));
Comment on lines 36 to 37
Copy link
Contributor Author

@alexcambose alexcambose Sep 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cprussin I removed these, for some reason it was messing with the position fixed/sticky and we weren't able to fix elements to the top of the page.
I'm not sure what these were doing or why we had them.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is used when opening the mobile drawer to offset the page underneath it. It does need to be here -- I'm surprised you're having issues with sticky positioning as we are actively using sticky positioning on table headers in IH to stick table headers to the top of the page....

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted

height: 100dvh;
min-height: 100dvh;
scrollbar-gutter: stable;

.header {
Expand Down