2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

fixes #15830: properly reset border-radius on list items in collapsing panel groups

This commit is contained in:
Mark Otto
2015-03-28 21:37:40 -07:00
parent 93bf800e1f
commit a2c69b8145
4 changed files with 12 additions and 2 deletions
+6
View File
@@ -76,6 +76,7 @@
.border-top-radius((@panel-border-radius - 1));
}
}
// Add border bottom radius for last one
&:last-child {
.list-group-item:last-child {
@@ -84,6 +85,11 @@
}
}
}
> .panel-heading + .panel-collapse > .list-group {
.list-group-item:first-child {
.border-top-radius(0);
}
}
}
// Collapse space between when there's no additional content.
.panel-heading + .list-group {