0
0
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:
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; 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;
} }

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. // 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 {