mirror of https://github.com/twbs/bootstrap.git
Fixes #9752: clear floats in .panel-body
This commit is contained in:
parent
3fbc1fc555
commit
6636734388
|
@ -2701,6 +2701,26 @@ a.list-group-item:focus {
|
||||||
padding: 15px;
|
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 {
|
.panel > .list-group {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -15,6 +15,7 @@
|
||||||
// Panel contents
|
// Panel contents
|
||||||
.panel-body {
|
.panel-body {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
.clearfix();
|
||||||
}
|
}
|
||||||
|
|
||||||
// List groups in panels
|
// List groups in panels
|
||||||
|
|
Loading…
Reference in New Issue