From dc03ea938cff27156662e784d4ab62957923dd6b Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Sat, 3 Jun 2023 08:31:07 +0800 Subject: [PATCH] limit size --- src/components/ValidatorCommissionRate.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/ValidatorCommissionRate.vue b/src/components/ValidatorCommissionRate.vue index 2d93a0d3..57b7ed6f 100644 --- a/src/components/ValidatorCommissionRate.vue +++ b/src/components/ValidatorCommissionRate.vue @@ -46,6 +46,7 @@ const chartConfig = computed(() => { return { chart: { + width: '200px', sparkline: { enabled: false }, }, colors: ['rgba(109,120,141,0.2)', 'rgba(114,225,40,0.2)', 'rgba(114,225,40,1)', 'rgba(114,225,40,0.2)', 'rgba(109,120,141,0.2)'], @@ -122,7 +123,9 @@ const chartConfig = computed(() => {