Button Group classes are missing border-radius properties
See original GitHub issueThe Button Group (btn-group
) classes are missing border-radius values. While the Buttons (btn
) contained within the Button Group have their own border radius values, the Button Group itself also needs matching values. The problem is not apparent until a Shadow class is applied to a Button Group.
Applying a shadow
or shadow-lg
class to the btn-group
produces a Button Group with a squared off white corners showing on all four corners of the Button Group, like so:
To remedy this we just need to add border-radius values to the following classes:
btn-group
: 0.25rembtn-group-sm
: 0.2rembtn-group-lg
: 0.3rem
Doing so fixes the problem and eliminates the squared off corners of the btn-group
, producing a Button group with the desired results:
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
html - Button Group Border Radius issue - Stack Overflow
It works for when there is more than one button, but when there is only one button, the button doesn't have rounded corners...
Read more >Missing border radius on input group with validation feedback
It would be impossible. I think we should move .invalid-feedback to outside of input group. And then, extend .input-group class ( ...
Read more >border-radius - CSS: Cascading Style Sheets - MDN Web Docs
The border-radius CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, ......
Read more >border-radius - CSS-Tricks
The border-radius property takes between one and four length or percentage values, where one value sets the radius for all four corners at...
Read more >Borders - Bootstrap
Great for images, buttons, or any other element. Border. Use border utilities to add or remove an element's borders. Choose from all borders...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for reaching out. I think the PR is pretty much done now, just waiting for approval for it to be merged into the main branch so this issue should be good to go. I don’t think there is anything else to do, so I don’t need help for anything for this issue. Thanks anyways though
Can I work with you on this?