-
Notifications
You must be signed in to change notification settings - Fork 566
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
BugFix: Use first-of-type for buttongroup selector #5343
Conversation
🦋 Changeset detectedLatest commit: 426beb0 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 |
👋 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 📦
|
This reverts commit 70005b8.
While cleaning up the ButtonGroup feature flags #5339, I noticed a bug in the Overlay screenshots where the last-child button didn't have the correct border radius.
This is because of the hidden Tooltip component in the group of items. I updated the selector to use
:is(button, a)
and:first-of-type
and:last-of-type
pseudo-classes to fix the issue. The updated screenshots show the issue.Changelog
New
Changed
Fix issue in ButtonGroup Overlay screenshots by updating the selector to use
:is(button, a)
and:first-of-type
and:last-of-type
pseudo-classes.Removed
Rollout strategy
Testing & Reviewing
Merge checklist