0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Fixes #9752: clear floats in .panel-body

This commit is contained in:
Mark Otto 2013-08-17 15:46:42 -07:00
parent 3fbc1fc555
commit 6636734388
3 changed files with 22 additions and 1 deletions

View File

@ -2701,6 +2701,26 @@ a.list-group-item:focus {
padding: 15px;
}
.panel-body:before,
.panel-body:after {
display: table;
content: " ";
}
.panel-body:after {
clear: both;
}
.panel-body:before,
.panel-body:after {
display: table;
content: " ";
}
.panel-body:after {
clear: both;
}
.panel > .list-group {
margin-bottom: 0;
}

File diff suppressed because one or more lines are too long

View File

@ -15,6 +15,7 @@
// Panel contents
.panel-body {
padding: 15px;
.clearfix();
}
// List groups in panels