added transform3d to charts css
Costa Tsaousis (ktsaou) committed
Nov 27, 2017 at 03:12 UTC
34ac6fca7404d353e60a1039635cc57d5f012ea8
3 files changed
+18
-4
web/dashboard.css
+8
@@ -44,6 +44,8 @@ body {
44
display: inline-block;
45
overflow: hidden;
46
47
+ transform: translate3d(0,0,0);
48
+
49
/* required for child elements to have absolute position */
50
position: relative;
51
@@ -54,6 +56,8 @@ body {
56
display: inline-block;
57
overflow: hidden;
58
59
+ transform: translate3d(0,0,0);
60
+
61
/* required for child elements to have absolute position */
62
position: relative;
63
@@ -70,6 +74,8 @@ body {
74
display: inline-block;
75
overflow: hidden;
76
77
+ transform: translate3d(0,0,0);
78
+
79
/* required for child elements to have absolute position */
80
position: relative;
81
@@ -93,6 +99,8 @@ body {
99
display: inline-block;
100
overflow: hidden;
101
102
+ transform: translate3d(0,0,0);
103
+
104
/* fix minimum scrollbar issue in firefox */
105
min-height: 99px;
106
web/dashboard.js
+2
-4
@@ -146,7 +146,7 @@ var NETDATA = window.NETDATA || {};
146
NETDATA.themes = {
147
white: {
148
bootstrap_css: NETDATA.serverDefault + 'css/bootstrap-3.3.7.css',
149
- dashboard_css: NETDATA.serverDefault + 'dashboard.css?v20171111-5',
149
+ dashboard_css: NETDATA.serverDefault + 'dashboard.css?v20171127-1',
150
background: '#FFFFFF',
151
foreground: '#000000',
152
grid: '#F0F0F0',
@@ -164,7 +164,7 @@ var NETDATA = window.NETDATA || {};
164
},
165
slate: {
166
bootstrap_css: NETDATA.serverDefault + 'css/bootstrap-slate-flat-3.3.7.css?v20161229-1',
167
- dashboard_css: NETDATA.serverDefault + 'dashboard.slate.css?v20171111-5',
167
+ dashboard_css: NETDATA.serverDefault + 'dashboard.slate.css?v20171127-1',
168
background: '#272b30',
169
foreground: '#C8C8C8',
170
grid: '#283236',
@@ -2712,7 +2712,6 @@ var NETDATA = window.NETDATA || {};
2712
showRendering();
2713
that.element_chart.style.display = 'none';
2714
that.element.style.willChange = 'auto';
2715
- that.element.style.transform = '';
2715
if(that.element_legend !== null) that.element_legend.style.display = 'none';
2716
if(that.element_legend_childs.toolbox !== null) that.element_legend_childs.toolbox.style.display = 'none';
2717
if(that.element_legend_childs.resize_handler !== null) that.element_legend_childs.resize_handler.style.display = 'none';
@@ -2746,7 +2745,6 @@ var NETDATA = window.NETDATA || {};
2745
else {
2746
// that.log('unhideChart()');
2747
that.element.style.willChange = 'transform';
2749
- that.element.style.transform = 'translateZ(0)';
2748
that.tm.last_unhidden = Date.now();
2749
that.element_chart.style.display = '';
2750
if(that.element_legend !== null) that.element_legend.style.display = '';
web/dashboard.slate.css
+8
@@ -58,6 +58,8 @@ code {
58
display: inline-block;
59
overflow: hidden;
60
61
+ transform: translate3d(0,0,0);
62
+
63
/* required for child elements to have absolute position */
64
position: relative;
65
@@ -68,6 +70,8 @@ code {
70
display: inline-block;
71
overflow: hidden;
72
73
+ transform: translate3d(0,0,0);
74
+
75
/* required for child elements to have absolute position */
76
position: relative;
77
@@ -84,6 +88,8 @@ code {
88
display: inline-block;
89
overflow: hidden;
90
91
+ transform: translate3d(0,0,0);
92
+
93
/* required for child elements to have absolute position */
94
position: relative;
95
@@ -107,6 +113,8 @@ code {
113
display: inline-block;
114
overflow: hidden;
115
116
+ transform: translate3d(0,0,0);
117
+
118
/* fix minimum scrollbar issue in firefox */
119
min-height: 99px;
120