-
Notifications
You must be signed in to change notification settings - Fork 308
fix(dev-hub): sidebar and table of contents positioning #3073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,6 @@ | |
| } | ||
|
|
||
| .body { | ||
| background: black; | ||
| -webkit-font-smoothing: antialiased; | ||
| -moz-osx-font-smoothing: grayscale; | ||
| scroll-behavior: smooth; | ||
|
|
@@ -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
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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....
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reverted |
||
| height: 100dvh; | ||
| min-height: 100dvh; | ||
| scrollbar-gutter: stable; | ||
|
|
||
| .header { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.