From 4c4dbe9d7b03d57e66809b480197f6d3d08ac728 Mon Sep 17 00:00:00 2001 From: cnachtigall1991 <40701475+cnachtigall1991@users.noreply.github.com> Date: Tue, 19 Oct 2021 18:47:16 +0200 Subject: [PATCH] better support for mobile devices --- src/components/DamageChart.vue | 27 ++++++--- src/components/EqValueGraph.vue | 77 +++++++++++++++++------- src/components/FlashChart.vue | 89 +++++++++------------------ src/components/MultiKillsChart.vue | 96 ++++++++++-------------------- src/router/index.js | 2 +- src/views/Match.vue | 8 +-- 6 files changed, 139 insertions(+), 160 deletions(-) diff --git a/src/components/DamageChart.vue b/src/components/DamageChart.vue index efcf783..58eb793 100644 --- a/src/components/DamageChart.vue +++ b/src/components/DamageChart.vue @@ -1,9 +1,7 @@ @@ -57,7 +55,8 @@ export default { }, xAxis: [ { - type: 'value' + type: 'value', + min: -300 } ], yAxis: [ @@ -124,13 +123,25 @@ export default { diff --git a/src/components/EqValueGraph.vue b/src/components/EqValueGraph.vue index 6d66f62..eabb1aa 100644 --- a/src/components/EqValueGraph.vue +++ b/src/components/EqValueGraph.vue @@ -1,13 +1,16 @@ - diff --git a/src/components/FlashChart.vue b/src/components/FlashChart.vue index 3435c4a..21e2f27 100644 --- a/src/components/FlashChart.vue +++ b/src/components/FlashChart.vue @@ -1,14 +1,9 @@ @@ -112,64 +107,38 @@ export default {