prevent date, time and units from wrapping, at the chart legends
Costa Tsaousis (ktsaou) committed
Jan 15, 2018 at 01:26 UTC
8960382b63da21c447bf5edc42c0e88030d6f739
4 files changed
+21
-3
web/dashboard.css
+9
@@ -225,12 +225,18 @@ body {
225
font-size: 10px;
226
font-weight: normal;
227
margin-top: 0px;
228
+ overflow: hidden;
229
+ text-overflow: ellipsis;
230
+ white-space: nowrap;
231
}
232
233
.netdata-legend-title-time {
234
font-size: 11px;
235
font-weight: bold;
236
margin-top: 0px;
237
+ overflow: hidden;
238
+ text-overflow: ellipsis;
239
+ white-space: nowrap;
240
}
241
242
.netdata-legend-title-units {
@@ -241,6 +247,9 @@ body {
247
vertical-align: top;
248
font-weight: normal;
249
margin-top: 0px;
250
+ overflow: hidden;
251
+ text-overflow: ellipsis;
252
+ white-space: nowrap;
253
}
254
255
.netdata-legend-series {
web/dashboard.js
+2
-2
@@ -160,7 +160,7 @@ var NETDATA = window.NETDATA || {};
160
NETDATA.themes = {
161
white: {
162
bootstrap_css: NETDATA.serverStatic + 'css/bootstrap-3.3.7.css',
163
- dashboard_css: NETDATA.serverStatic + 'dashboard.css?v20180113-1',
163
+ dashboard_css: NETDATA.serverStatic + 'dashboard.css?v20180115-1',
164
background: '#FFFFFF',
165
foreground: '#000000',
166
grid: '#F0F0F0',
@@ -178,7 +178,7 @@ var NETDATA = window.NETDATA || {};
178
},
179
slate: {
180
bootstrap_css: NETDATA.serverStatic + 'css/bootstrap-slate-flat-3.3.7.css?v20161229-1',
181
- dashboard_css: NETDATA.serverStatic + 'dashboard.slate.css?v20180113-1',
181
+ dashboard_css: NETDATA.serverStatic + 'dashboard.slate.css?v20180115-1',
182
background: '#272b30',
183
foreground: '#C8C8C8',
184
grid: '#283236',
web/dashboard.slate.css
+9
@@ -239,12 +239,18 @@ code {
239
font-size: 10px;
240
font-weight: normal;
241
margin-top: 0px;
242
+ overflow: hidden;
243
+ text-overflow: ellipsis;
244
+ white-space: nowrap;
245
}
246
247
.netdata-legend-title-time {
248
font-size: 11px;
249
font-weight: bold;
250
margin-top: 0px;
251
+ overflow: hidden;
252
+ text-overflow: ellipsis;
253
+ white-space: nowrap;
254
}
255
256
.netdata-legend-title-units {
@@ -255,6 +261,9 @@ code {
261
vertical-align: top;
262
font-weight: normal;
263
margin-top: 0px;
264
+ overflow: hidden;
265
+ text-overflow: ellipsis;
266
+ white-space: nowrap;
267
}
268
269
.netdata-legend-series {
web/index.html
+1
-1
@@ -5622,6 +5622,6 @@
5622
</div>
5623
</div>
5624
<div id="hiddenDownloadLinks" style="display: none;" hidden></div>
5625
- <script type="text/javascript" src="dashboard.js?v20180114-4"></script>
5625
+ <script type="text/javascript" src="dashboard.js?v20180115-1"></script>
5626
</body>
5627
</html>