-
Notifications
You must be signed in to change notification settings - Fork 150
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
fix: ButtonGroup focus ring styles #2091
Conversation
|
✅ PR title follows Conventional Commits specification. |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit e762c56:
|
borderColor: getIn( | ||
theme.colors, | ||
getBackgroundColorToken({ | ||
// Only secondary variant has border a border, for other variants we use background color so that the border is not visible |
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.
Why not make it transparent?
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.
@@ -10,22 +10,19 @@ const StyledButtonGroup = styled(BaseBox)<StyledButtonGroupProps>( | |||
return { | |||
display: 'flex', | |||
width: isFullWidth ? '100%' : 'fit-content', | |||
overflow: 'hidden', |
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.
was this causing issue with focus ring? (storybook is broken right now so unable to preview before and after https://razorpay.slack.com/archives/G01B3LQ9H0W/p1710930648131329)
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.
Yes.
a931144
to
e762c56
Compare
Description
Fixed the focus ring styles.
Changes
Screen.Recording.2024-03-20.at.12.48.32.PM.mov