mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-20 06:20:23 +00:00
Merge pull request #9079 from liuyl/buttongroups
Fix #7108: btn group styling
This commit is contained in:
commit
6bebecfb28
3 changed files with 5 additions and 5 deletions
4
dist/css/bootstrap.css
vendored
4
dist/css/bootstrap.css
vendored
|
|
@ -3257,12 +3257,12 @@ button.close {
|
|||
border-radius: 0;
|
||||
}
|
||||
|
||||
.btn-group-vertical .btn:first-child {
|
||||
.btn-group-vertical .btn:first-child:not(:last-child) {
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
.btn-group-vertical .btn:last-child {
|
||||
.btn-group-vertical .btn:last-child:not(:first-child) {
|
||||
border-top-right-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
}
|
||||
|
|
|
|||
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -142,10 +142,10 @@
|
|||
&:not(:first-child):not(:last-child) {
|
||||
border-radius: 0;
|
||||
}
|
||||
&:first-child {
|
||||
&:first-child:not(:last-child) {
|
||||
.border-bottom-radius(0);
|
||||
}
|
||||
&:last-child {
|
||||
&:last-child:not(:first-child) {
|
||||
.border-top-radius(0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue