From 5867fe1c3b8a10b50fca5e99e3de96eec95d0308 Mon Sep 17 00:00:00 2001 From: xidedix Date: Tue, 5 Jun 2018 16:33:16 +0200 Subject: [PATCH 1/3] fix(Dashboard): `width` card-line*-chart-example `ie` issue --- src/views/Dashboard.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 50826734..1a2c3214 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -16,7 +16,7 @@

9.823

Members online

- + @@ -34,7 +34,7 @@

9.823

Members online

- +
@@ -568,3 +568,10 @@ export default { } } + + From 647075d4c5c607fa5ea27ba95cee0fad96935ea8 Mon Sep 17 00:00:00 2001 From: xidedix Date: Tue, 5 Jun 2018 16:33:52 +0200 Subject: [PATCH 2/3] refactor: `getStyles()` back to `@coreui/coreui` version `^2.0.2` --- src/utils/getStyle.js | 10 ---------- src/views/dashboard/CalloutChartExample.vue | 3 +-- src/views/dashboard/CardLine1ChartExample.vue | 3 +-- src/views/dashboard/CardLine2ChartExample.vue | 3 +-- src/views/dashboard/MainChartExample.vue | 4 +--- 5 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 src/utils/getStyle.js diff --git a/src/utils/getStyle.js b/src/utils/getStyle.js deleted file mode 100644 index efc89f21..00000000 --- a/src/utils/getStyle.js +++ /dev/null @@ -1,10 +0,0 @@ -// todo -// temp getStyle fix for IE -const getStyle = (prop, node) => { - const root = node || document.querySelector(':root') - const value = window.getComputedStyle(root).getPropertyValue(prop).trim() - // console.log('utils/getStyle', value) - return value -} - -export default getStyle diff --git a/src/views/dashboard/CalloutChartExample.vue b/src/views/dashboard/CalloutChartExample.vue index 93d86d79..b813ecf1 100644 --- a/src/views/dashboard/CalloutChartExample.vue +++ b/src/views/dashboard/CalloutChartExample.vue @@ -1,8 +1,7 @@