提交 46c31acf 编写于 作者: A Abdullah Almsaeed

Added clearfix to box elements

上级 bad990bd
......@@ -164,10 +164,15 @@
}
//Box header
.box-header {
//Add top left and top right border radius
//Add clearfix to header, body and footer
.box-header,
.box-body,
.box-footer {
.clearfix();
}
//Box header
.box-header {
color: #444;
display: block;
padding: @box-padding;
......
......@@ -1571,20 +1571,26 @@ a:focus {
.box .overlay.dark {
background: rgba(0, 0, 0, 0.5);
}
.box-header {
color: #444;
display: block;
padding: 10px;
position: relative;
}
.box-header:before,
.box-header:after {
.box-body:before,
.box-footer:before,
.box-header:after,
.box-body:after,
.box-footer:after {
content: " ";
display: table;
}
.box-header:after {
.box-header:after,
.box-body:after,
.box-footer:after {
clear: both;
}
.box-header {
color: #444;
display: block;
padding: 10px;
position: relative;
}
.box-header.with-border {
border-bottom: 1px solid #f4f4f4;
}
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册