1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fixes #9655: scrope list group styles in panels to immediate children only

This commit is contained in:
Mark Otto 2013-08-15 18:58:02 -07:00
parent 7960845f50
commit fc88bcf0d1
3 changed files with 6 additions and 6 deletions

View file

@ -2688,20 +2688,20 @@ a.list-group-item:focus {
padding: 15px;
}
.panel .list-group {
.panel > .list-group {
margin-bottom: 0;
}
.panel .list-group .list-group-item {
.panel > .list-group .list-group-item {
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-left-radius: 0;
}
.panel .list-group .list-group-item:last-child {
.panel > .list-group .list-group-item:last-child {
border-bottom: 0;
}

File diff suppressed because one or more lines are too long

View file

@ -23,7 +23,7 @@
// any kind of custom content between the two.
.panel {
.list-group {
> .list-group {
margin-bottom: 0;
.list-group-item {