-
Couldn't load subscription status.
- Fork 4k
Fix ToggeableLinkItem display #3744
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
🦋 Changeset detectedLatest commit: 5c42fc3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes the display property used in the ToggleableLinkItem component's show state animation. The change updates the CSS display value from inherit to contents to properly handle the visibility transition of toggleable table of contents items.
Key changes:
- Updated the
showanimation state's display property frominherittocontentsin the Toggler component
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/gitbook/src/components/TableOfContents/ToggleableLinkItem.tsx | Changed display property from 'inherit' to 'contents' in the show animation state |
| .changeset/quiet-icons-deny.md | Added changeset documenting the fix as a patch release |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Uh oh!
There was an error while loading. Please reload this page.
Before :
CleanShot 2025年10月19日 at 20 34 47@2x
After:
CleanShot 2025年10月19日 at 20 34 05@2x