assets/stylesheets/bootstrap/_button-group.scss in bootstrap-5.1.3 vs assets/stylesheets/bootstrap/_button-group.scss in bootstrap-5.2.0
- old
+ new
@@ -32,17 +32,20 @@
width: auto;
}
}
.btn-group {
+ @include border-radius($btn-border-radius);
+
// Prevent double borders when buttons are next to each other
> .btn:not(:first-child),
> .btn-group:not(:first-child) {
margin-left: -$btn-border-width;
}
// Reset rounded corners
> .btn:not(:last-child):not(.dropdown-toggle),
+ > .btn.dropdown-toggle-split:first-child,
> .btn-group:not(:last-child) > .btn {
@include border-end-radius(0);
}
// The left radius should be 0 if the button is: