Explorar o código

Ticket #363 - base functionality.

AntonLV %!s(int64=9) %!d(string=hai) anos
pai
achega
a475d84332
Modificáronse 2 ficheiros con 5 adicións e 2 borrados
  1. 1 1
      template/chart_stats.html
  2. 4 1
      template/css/chart.css

+ 1 - 1
template/chart_stats.html

@@ -1,7 +1,7 @@
 <div class="bx-chart-stats bx-def-font-align-center">
     <div class="bx-chart-stats-items bx-def-margin-bottom">
         <bx_repeat:items>
-            <div class="bx-cs-item bx-def-padding-sec-leftright">
+            <div class="bx-cs-item bx-def-padding-thd-leftright bx-def-box-sizing">
                 <span class="bx-def-font-h3">__value__</span> __title__
             </div>
         </bx_repeat:items>

+ 4 - 1
template/css/chart.css

@@ -22,11 +22,14 @@ div.bx-chart-stats-items {
 	position: relative;
 }
 div.bx-chart-stats-items div.bx-cs-item {
-	display: table-cell;
+	display: inline-block;
 	vertical-align: top;
 	width: 30%;
+
 	text-align: left;
+	text-overflow: ellipsis;
 	white-space: nowrap;
+	overflow: hidden;
 } 
 
 /*+++ Chart Stats: Graph +++*/