Skip to content

Commit

Permalink
(less) Fixes twbs#14711: Account for list groups in collapsing panels
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Oct 3, 2014
1 parent 7b74ad0 commit b5fe90b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion panels.less
Original file line number Diff line number Diff line change
Expand Up @@ -216,17 +216,21 @@
.panel {
margin-bottom: 0;
border-radius: @panel-border-radius;

+ .panel {
margin-top: 5px;
}
}

.panel-heading {
border-bottom: 0;
+ .panel-collapse > .panel-body {

+ .panel-collapse > .panel-body,
+ .panel-collapse > .list-group {
border-top: 1px solid @panel-inner-border;
}
}

.panel-footer {
border-top: 0;
+ .panel-collapse .panel-body {
Expand Down

0 comments on commit b5fe90b

Please sign in to comment.