Added clearfix to box elements

pull/325/merge
Abdullah Almsaeed 2015-04-03 12:34:36 -04:00
parent bad990bd1a
commit 46c31acf01
3 changed files with 23 additions and 12 deletions

View File

@ -164,10 +164,15 @@
}
//Add clearfix to header, body and footer
.box-header,
.box-body,
.box-footer {
.clearfix();
}
//Box header
.box-header {
//Add top left and top right border radius
.clearfix();
color: #444;
display: block;
padding: @box-padding;

22
dist/css/AdminLTE.css vendored
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;
}

File diff suppressed because one or more lines are too long