-
Notifications
You must be signed in to change notification settings - Fork 4k
Add isRoot prop to PagesList for root header offset #3759
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
Conversation
- Add optional isRoot prop to PagesList and apply 'group/root-page-list' when true. - Pass isRoot from TableOfContents for the top-level pages list. - Tighten PageGroupItem selector so the top negative margin (-mt-6) only applies in the root-page-list context, avoiding incorrect offset for nested groups.
|
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
…e-option * main: (48 commits) Edgeless Assistant window on `depth: flat` sites (#3788) Add heredoc support for cURL JSON body (#3790) Update site layout and blocks with container queries (#3780) Rework OpenAPI Authorizations + scopes (#3786) Support custom cover heights (#3779) Update `DropdownMenu` styling (#3787) Treat pages without visible TOC items as `no-toc` (#3783) Implement unique title tags for sections & variants (#3768) Add page breadcrumbs to search results (#3784) Expand code block when printing (#3782) Disable Workers Observability (#3781) Reword "Everywhere" search scope to "All docs" (#3776) Add padding to TOC page group items (#3777) Improve OAuth2 scopes handling in OpenAPI (#3775) Support translations and generic variants together (#3772) Initialize hash on mount and improve navigation handling (#3774) Revert "Support cover image heights and positioning changes" (#3771) Fix search container shadow (#3770) Redirect to space base path on fallback true (#3745) Add isRoot prop to PagesList for root header offset (#3759) ...
Page group inside of another page group were masking other elements, this fix it.
Introduce an optional
isRootprop to thePagesListcomponent to apply specific styling for top-level pages. Adjust thePageGroupItemselector to ensure correct offset behavior in root context.