Add Flexbox-Support for older browsers
Simon Nagl committed
Apr 23, 2016 at 18:50 UTC
ce0df41e49956d7bea2abcd7c987405cebb86bc7
2 files changed
+18
-7
web/dashboard.css
+12
-7
@@ -10,15 +10,20 @@ body {
10
margin-left: 55px;
11
}
12
13
-netdata-chart-row {
14
- width: 100%;
15
- text-align: center;
16
- display: flex;
17
- align-items: baseline;
18
- justify-content: center;
13
+.netdata-chart-row {
14
+ width: 100%;
15
+ text-align: center;
16
+ display: flex;
17
+ display: -webkit-flex;
18
+ display: -moz-flex;
19
+ align-items: baseline;
20
+ -moz-align-items: baseline;
21
+ -webkit-align-items: baseline;
22
+ justify-content: center;
23
+ -webkit-justify-content: center;
24
+ -moz-justify-content: center;
25
}
26
21
-
27
.netdata-container {
28
display: inline-block;
29
overflow: hidden;
web/dashboard.slate.css
+6
@@ -22,8 +22,14 @@ body {
22
width: 100%;
23
text-align: center;
24
display: flex;
25
+ display: -webkit-flex;
26
+ display: -moz-flex;
27
align-items: baseline;
28
+ -moz-align-items: baseline;
29
+ -webkit-align-items: baseline;
30
justify-content: center;
31
+ -moz--webkit-justify-content: center;
32
+ -moz-justify-content: center;
33
}
34
35
.netdata-container {