-
Notifications
You must be signed in to change notification settings - Fork 629
Breadcrumb overflow styling #6728
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
langermank
commented
Sep 4, 2025
- Adds a variant prop to handle the two styles
- CSS cleanup and consolidation
- More feature stories
🦋 Changeset detectedLatest commit: 3c3fdd5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
size-limit report 📦
|
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Thanks for this!
|
Add a changeset for breadcrumb overflow styling.
@copilot fix the lint error |
[SELECTED_CLASS]: selected, | ||
[classes.ItemSelected]: selected, | ||
})} | ||
className={clsx(className, classes.Item, selected && 'selected')} |
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.
@pksjce I just moved all selected logic into aria-current
in CSS, so we don't need that ItemSelected class. No idea what selected
is doing, probably something in dotcom
@@ -153,6 +136,7 @@ | |||
& summary { | |||
list-style: none; | |||
cursor: pointer; | |||
outline: none; |
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.
This makes the focus outline around the menu button go away. Since button + summary is same element. When you tab along, there is no focus outline.