mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 21:22:52 +02:00
Fixes #14329: Fixed list-groups nested inside of collapsing panels, from @apexskier
This commit is contained in:
12
dist/css/bootstrap.css
vendored
12
dist/css/bootstrap.css
vendored
@@ -5119,19 +5119,23 @@ a.list-group-item-danger.active:focus {
|
|||||||
border-bottom-right-radius: 3px;
|
border-bottom-right-radius: 3px;
|
||||||
border-bottom-left-radius: 3px;
|
border-bottom-left-radius: 3px;
|
||||||
}
|
}
|
||||||
.panel > .list-group {
|
.panel > .list-group,
|
||||||
|
.panel > .panel-collapse > .list-group {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
.panel > .list-group .list-group-item {
|
.panel > .list-group .list-group-item,
|
||||||
|
.panel > .panel-collapse > .list-group .list-group-item {
|
||||||
border-width: 1px 0;
|
border-width: 1px 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
.panel > .list-group:first-child .list-group-item:first-child {
|
.panel > .list-group:first-child .list-group-item:first-child,
|
||||||
|
.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
border-top-left-radius: 3px;
|
border-top-left-radius: 3px;
|
||||||
border-top-right-radius: 3px;
|
border-top-right-radius: 3px;
|
||||||
}
|
}
|
||||||
.panel > .list-group:last-child .list-group-item:last-child {
|
.panel > .list-group:last-child .list-group-item:last-child,
|
||||||
|
.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
border-bottom-right-radius: 3px;
|
border-bottom-right-radius: 3px;
|
||||||
border-bottom-left-radius: 3px;
|
border-bottom-left-radius: 3px;
|
||||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
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
@@ -56,7 +56,8 @@
|
|||||||
// any kind of custom content between the two.
|
// any kind of custom content between the two.
|
||||||
|
|
||||||
.panel {
|
.panel {
|
||||||
> .list-group {
|
> .list-group,
|
||||||
|
> .panel-collapse > .list-group {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
.list-group-item {
|
.list-group-item {
|
||||||
|
Reference in New Issue
Block a user