-
-
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 new rounded sizes classes #28011
Conversation
Add $enable-rounded as a keyword argument to border-raidus mixins
- use border-radius mixins to repleace !important - use true for $enable-rounded for rounded classes - Add `.rounded-sm` and `.rounded-sm` twbs#27934
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.
Please do not touch any dist files.
Also, there's a good reason for using |
updated! |
Thanks for the PR, @jt143! These classes have Therefor I would go for |
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.
We wouldn't chain these new classes to the side classes like this. Utilities should never ben extended, chained, or modified. For now, I'd suggest we do .rounded-sm
and .rounded-lg
only.
Hi @mdo and @MartijnCuppens |
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.
LGTM 👍
…ew-rounded-classes
…otstrap into add-new-rounded-classes
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.
Looks good!
.rounded-sm
and.rounded-lg
Fixes #27934
Demo preview: https://deploy-preview-28011--twbs-bootstrap4.netlify.com/docs/4.2/utilities/borders/#sizes