diff options
author | Simon Nagl <simonnagl@aim.com> | 2016-04-23 18:50:33 +0200 |
---|---|---|
committer | Simon Nagl <simonnagl@aim.com> | 2016-04-28 16:54:23 +0200 |
commit | ce0df41e49956d7bea2abcd7c987405cebb86bc7 (patch) | |
tree | 7ae93c1183e513cbf5fddf9253334c89345f4931 | |
parent | 33a2a8bf214bb57c3ed145dcec5cbf1aea18bd0e (diff) |
Add Flexbox-Support for older browsers
-rw-r--r-- | web/dashboard.css | 19 | ||||
-rw-r--r-- | web/dashboard.slate.css | 6 |
2 files changed, 18 insertions, 7 deletions
diff --git a/web/dashboard.css b/web/dashboard.css index 009def6320..63e2b905fd 100644 --- a/web/dashboard.css +++ b/web/dashboard.css @@ -10,15 +10,20 @@ body { margin-left: 55px; } -netdata-chart-row { - width: 100%; - text-align: center; - display: flex; - align-items: baseline; - justify-content: center; +.netdata-chart-row { + width: 100%; + text-align: center; + display: flex; + display: -webkit-flex; + display: -moz-flex; + align-items: baseline; + -moz-align-items: baseline; + -webkit-align-items: baseline; + justify-content: center; + -webkit-justify-content: center; + -moz-justify-content: center; } - .netdata-container { display: inline-block; overflow: hidden; diff --git a/web/dashboard.slate.css b/web/dashboard.slate.css index 0edcc87cf3..78cd84987f 100644 --- a/web/dashboard.slate.css +++ b/web/dashboard.slate.css @@ -22,8 +22,14 @@ body { width: 100%; text-align: center; display: flex; + display: -webkit-flex; + display: -moz-flex; align-items: baseline; + -moz-align-items: baseline; + -webkit-align-items: baseline; justify-content: center; + -moz--webkit-justify-content: center; + -moz-justify-content: center; } .netdata-container { |