[icinga-checkins] icinga.org: icingaweb2/feature/responsive-perfdata-table: PerfData: Optimize text-alignment for labels and numerical cols

git at icinga.org git at icinga.org
Mon Jun 6 15:01:57 CEST 2016


Module: icingaweb2
Branch: feature/responsive-perfdata-table
Commit: 13fde220c22b6076165fdfbd619a33480830a79d
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=13fde220c22b6076165fdfbd619a33480830a79d

Author: Florian Strohmaier <florian.strohmaier at netways.de>
Date:   Mon Jun  6 15:01:42 2016 +0200

PerfData: Optimize text-alignment for labels and numerical cols

---

 modules/monitoring/public/css/tables.less |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/modules/monitoring/public/css/tables.less b/modules/monitoring/public/css/tables.less
index 72e6165..7e725f0 100644
--- a/modules/monitoring/public/css/tables.less
+++ b/modules/monitoring/public/css/tables.less
@@ -146,6 +146,21 @@
   > thead > tr > th:nth-child(2) {
     text-align: left;
   }
+
+  > thead > tr > th:nth-child(3),
+  > thead > tr > th:nth-child(4),
+  > thead > tr > th:nth-child(5),
+  > thead > tr > th:nth-child(6), {
+    width: 100px;
+  }
+
+  > tbody > tr > td.value-col,
+  > tbody > tr > td.max-col,
+  > tbody > tr > td.warn-col,
+  > tbody > tr > td.crit-col {
+    text-align: right;
+    width: 100px;
+  }
 }
 
 // Performance data table column for sparkline pie charts in detail views



More information about the icinga-checkins mailing list