-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Add missing border-radius
for btn-group
#35467
Conversation
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 should be added before the comment regarding double borders, with a line break between them.
Apart from that, I don't see any reason to reject this. Thanks!
Thanks for letting me know. I've addressed the changes, please take another look when you get a chance to. Thanks! Additionally, since I'm a first-time contributor for this repo, I need a maintainer to approve running workflows. |
scss/_button-group.scss
Outdated
@@ -34,6 +34,9 @@ | |||
} | |||
|
|||
.btn-group { | |||
// Prevent white corners if shadow or shadow-lg property applied |
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 comment isn't really needed, the property and value speak for themselves.
Then I guess it'd be good to go 👌
Addressed linting issue for border-radius on the property-disallowed-list |
scss/_button-group.scss
Outdated
@@ -34,6 +34,8 @@ | |||
} | |||
|
|||
.btn-group { | |||
border-radius: $btn-border-radius; |
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.
It'd be better to use the dedicated mixin instead of disabling the stylelint rule. We wouldn't use the rule if we needed to disable it all the time.
Moreover the mixin will only compute the property when $enable-rounded
is true
, to respect global setting and stay aligned with buttons styles.
In that case:
border-radius: $btn-border-radius; | |
@include border-radius($btn-border-radius); |
And that'd be perfect!
Sorry for the several changes, thanks a lot for your patience!
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.
Gotcha, understood! No worries, addressed the changes!
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.
👌
border-radius
for btn-group
Fixes the border-radius for btn-group
Fixes #34598