1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +02: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;
}