Skip to content

Conversation

@conico974
Copy link
Contributor

Page group inside of another page group were masking other elements, this fix it.
Introduce an optional isRoot prop to the PagesList component to apply specific styling for top-level pages. Adjust the PageGroupItem selector to ensure correct offset behavior in root context.

- 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.
@linear
Copy link

linear bot commented Oct 27, 2025

@changeset-bot
Copy link

changeset-bot bot commented Oct 27, 2025

⚠️ No Changeset found

Latest commit: 88094fd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@argos-ci
Copy link

argos-ci bot commented Oct 27, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2 (Inspect) ✅ No changes detected - Oct 28, 2025, 6:03 PM
v2-cloudflare (Inspect) 👍 Changes approved 4 changed Oct 28, 2025, 6:08 PM
v2-vercel (Inspect) 👍 Changes approved 12 changed Oct 28, 2025, 6:06 PM

@conico974 conico974 merged commit b554d7d into main Oct 29, 2025
16 checks passed
@conico974 conico974 deleted the conico/rnd-8502-group-toc branch October 29, 2025 09:50
clairechabas added a commit that referenced this pull request Nov 10, 2025
…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)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants