Sfoglia il codice sorgente

Added clearfix to box elements

Abdullah Almsaeed 10 anni fa
parent
commit
46c31acf01
3 ha cambiato i file con 22 aggiunte e 11 eliminazioni
  1. 8 3
      build/less/boxes.less
  2. 14 8
      dist/css/AdminLTE.css
  3. 0 0
      dist/css/AdminLTE.min.css

+ 8 - 3
build/less/boxes.less

@@ -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
dist/css/AdminLTE.css

@@ -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;
 }

File diff suppressed because it is too large
+ 0 - 0
dist/css/AdminLTE.min.css


Some files were not shown because too many files changed in this diff