0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Fixes #12171: Ensure panel groups have a bottom margin since we nuke it on child panels

This commit is contained in:
Mark Otto 2014-01-10 18:56:44 -08:00
parent 17f2ef46aa
commit 3a8e99e91e
6 changed files with 9 additions and 4 deletions

View File

@ -4881,6 +4881,9 @@ a.list-group-item-danger.active:focus {
border-bottom-right-radius: 3px; border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px; border-bottom-left-radius: 3px;
} }
.panel-group {
margin-bottom: 20px;
}
.panel-group .panel { .panel-group .panel {
margin-bottom: 0; margin-bottom: 0;
overflow: hidden; overflow: hidden;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -150,6 +150,8 @@
// the help of our collapse JavaScript plugin. // the help of our collapse JavaScript plugin.
.panel-group { .panel-group {
margin-bottom: @line-height-computed;
// Tighten up margin so it's only between panels // Tighten up margin so it's only between panels
.panel { .panel {
margin-bottom: 0; margin-bottom: 0;