Pārlūkot izejas kodu

Added clearfix to box elements

Abdullah Almsaeed 10 gadi atpakaļ
vecāks
revīzija
46c31acf01
3 mainītis faili ar 22 papildinājumiem un 11 dzēšanām
  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;
 }

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/css/AdminLTE.min.css


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels