aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-04-04 23:59:22 -0700
committerMark Otto <[email protected]>2015-04-04 23:59:22 -0700
commit9f7d566a6815dfde1b2c1dfb67c6291e29563ba0 (patch)
treec22fcb51754524582a968063acf12eecbe16489a /less
parent9c41aee780bc1008019684955be7a029679245ca (diff)
parent510f56f334087b28581d4a8d02c92eebc693a92b (diff)
downloadbootstrap-9f7d566a6815dfde1b2c1dfb67c6291e29563ba0.tar.xz
bootstrap-9f7d566a6815dfde1b2c1dfb67c6291e29563ba0.zip
Merge pull request #16175 from twbs/fix_15830
Fix border-radius on list group items in collapsible panels
Diffstat (limited to 'less')
-rw-r--r--less/panels.less6
1 files changed, 6 insertions, 0 deletions
diff --git a/less/panels.less b/less/panels.less
index 04eb2b39c..425eb5e64 100644
--- a/less/panels.less
+++ b/less/panels.less
@@ -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 {