From 670e0752034419cfcf648417809aaed754c6e453 Mon Sep 17 00:00:00 2001 From: duanliang Date: Thu, 26 Dec 2024 14:09:09 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/traffic/components/box-3.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/traffic/components/box-3.vue b/src/views/traffic/components/box-3.vue index 8830003..f62c9bd 100644 --- a/src/views/traffic/components/box-3.vue +++ b/src/views/traffic/components/box-3.vue @@ -151,10 +151,10 @@ provide(THEME_KEY, 'dark'); const option1 = ref({ backgroundColor: 'transparent', - height: fitChartSize(230), width: '92%', + // height: fitChartSize(300), grid: { - top: '50', + top: fitChartSize(90), bottom: '0', left: '4%', containLabel: true, @@ -392,8 +392,9 @@ left: vw(-8); span { - position: relative; - top: vh(-5); + position: absolute; + top: 50%; + transform: translateY(-50%); } } }