mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-09 23:40:58 +00:00
Merge pull request #16175 from twbs/fix_15830
Fix border-radius on list group items in collapsible panels
This commit is contained in:
commit
9f7d566a68
5 changed files with 12 additions and 1 deletions
|
|
@ -5508,6 +5508,10 @@ a.list-group-item-danger.active:focus {
|
|||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
.panel-heading + .list-group .list-group-item:first-child {
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
|
|
|||
BIN
dist/css/bootstrap.css.map
vendored
BIN
dist/css/bootstrap.css.map
vendored
Binary file not shown.
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
1
dist/js/bootstrap.min.js
vendored
1
dist/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -76,6 +76,7 @@
|
|||
.border-top-radius((@panel-border-radius - 1));
|
||||
}
|
||||
}
|
||||
|
||||
// Add border bottom radius for last one
|
||||
&:last-child {
|
||||
.list-group-item:last-child {
|
||||
|
|
@ -84,6 +85,11 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
> .panel-heading + .panel-collapse > .list-group {
|
||||
.list-group-item:first-child {
|
||||
.border-top-radius(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
// Collapse space between when there's no additional content.
|
||||
.panel-heading + .list-group {
|
||||
|
|
|
|||
Loading…
Reference in a new issue