Pārlūkot izejas kodu

enhance info-box for text-truncate & text-wrap

REJack 4 gadi atpakaļ
vecāks
revīzija
a3604d0c62

+ 7 - 1
build/scss/_info-box.scss

@@ -12,6 +12,7 @@
   min-height: 80px;
   padding: .5rem;
   position: relative;
+  width: 100%;
 
   .progress {
     background-color: rgba($black, .125);
@@ -41,12 +42,17 @@
   }
 
   .info-box-content {
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+    line-height: 120%;
     flex: 1;
-    padding: 5px 10px;
+    padding: 0 10px;
   }
 
   .info-box-number {
     display: block;
+    margin-top: .25rem;
     font-weight: $font-weight-bold;
   }
 

+ 10 - 1
dist/css/adminlte.css

@@ -19188,6 +19188,7 @@ html.maximized-card {
   min-height: 80px;
   padding: .5rem;
   position: relative;
+  width: 100%;
 }
 
 .info-box .progress {
@@ -19218,13 +19219,21 @@ html.maximized-card {
 }
 
 .info-box .info-box-content {
+  display: -ms-flexbox;
+  display: flex;
+  -ms-flex-direction: column;
+  flex-direction: column;
+  -ms-flex-pack: center;
+  justify-content: center;
+  line-height: 120%;
   -ms-flex: 1;
   flex: 1;
-  padding: 5px 10px;
+  padding: 0 10px;
 }
 
 .info-box .info-box-number {
   display: block;
+  margin-top: .25rem;
   font-weight: 700;
 }
 

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


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


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


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