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: 1fd18c6

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) ⚠️ Changes detected (Review) 8 changed Oct 27, 2025, 11:44 AM
v2-cloudflare (Inspect) ⚠️ Changes detected (Review) 11 changed Oct 27, 2025, 11:48 AM
v2-vercel (Inspect) ⚠️ Changes detected (Review) 10 changed Oct 27, 2025, 11:47 AM

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.

1 participant