Added clearfix to box elements

This commit is contained in:
Abdullah Almsaeed
2015-04-03 12:34:36 -04:00
parent bad990bd1a
commit 46c31acf01
3 changed files with 23 additions and 12 deletions
+8 -3
View File
@@ -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;
+14 -8
View File
@@ -1571,20 +1571,26 @@ a:focus {
.box .overlay.dark {
background: rgba(0, 0, 0, 0.5);
}
.box-header:before,
.box-body:before,
.box-footer:before,
.box-header:after,
.box-body:after,
.box-footer:after {
content: " ";
display: table;
}
.box-header:after,
.box-body:after,
.box-footer:after {
clear: both;
}
.box-header {
color: #444;
display: block;
padding: 10px;
position: relative;
}
.box-header:before,
.box-header:after {
content: " ";
display: table;
}
.box-header:after {
clear: both;
}
.box-header.with-border {
border-bottom: 1px solid #f4f4f4;
}
+1 -1
View File
File diff suppressed because one or more lines are too long