mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-27 23:30:04 +02:00
Fixes rounded corners on first and lat child on vertical btn group (#24119)
This commit is contained in:
@@ -152,7 +152,6 @@
|
|||||||
&:not(:first-child):not(:last-child) {
|
&:not(:first-child):not(:last-child) {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
&:first-child:not(:last-child) {
|
&:first-child:not(:last-child) {
|
||||||
@include border-bottom-radius(0);
|
@include border-bottom-radius(0);
|
||||||
@@ -161,6 +160,7 @@
|
|||||||
&:last-child:not(:first-child) {
|
&:last-child:not(:first-child) {
|
||||||
@include border-top-radius(0);
|
@include border-top-radius(0);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
> .btn-group:not(:first-child):not(:last-child) > .btn {
|
> .btn-group:not(:first-child):not(:last-child) > .btn {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
Reference in New Issue
Block a user