mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
fixes #9655: scrope list group styles in panels to immediate children only
This commit is contained in:
parent
7960845f50
commit
fc88bcf0d1
8
dist/css/bootstrap.css
vendored
8
dist/css/bootstrap.css
vendored
@ -2688,20 +2688,20 @@ a.list-group-item:focus {
|
|||||||
padding: 15px;
|
padding: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel .list-group {
|
.panel > .list-group {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel .list-group .list-group-item {
|
.panel > .list-group .list-group-item {
|
||||||
border-width: 1px 0;
|
border-width: 1px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel .list-group .list-group-item:first-child {
|
.panel > .list-group .list-group-item:first-child {
|
||||||
border-top-right-radius: 0;
|
border-top-right-radius: 0;
|
||||||
border-top-left-radius: 0;
|
border-top-left-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel .list-group .list-group-item:last-child {
|
.panel > .list-group .list-group-item:last-child {
|
||||||
border-bottom: 0;
|
border-bottom: 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
@ -23,7 +23,7 @@
|
|||||||
// any kind of custom content between the two.
|
// any kind of custom content between the two.
|
||||||
|
|
||||||
.panel {
|
.panel {
|
||||||
.list-group {
|
> .list-group {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
.list-group-item {
|
.list-group-item {
|
||||||
|
Loading…
Reference in New Issue
Block a user