From 8cd5dbc74dce4094fa03d9aa3f36ad6c87632c7f Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Tue, 25 Jan 2022 15:23:36 +0800 Subject: [PATCH] fix: update style --- src/views/dashboard/graphs/Card.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/dashboard/graphs/Card.vue b/src/views/dashboard/graphs/Card.vue index 1b1fc377..77460679 100644 --- a/src/views/dashboard/graphs/Card.vue +++ b/src/views/dashboard/graphs/Card.vue @@ -54,7 +54,10 @@ const singleVal = computed(() => props.data[key.value]); .chart-card { box-sizing: border-box; color: #333; + display: -webkit-box; + -webkit-box-orient: horizontal; + -webkit-box-pack: center; + -webkit-box-align: center; height: 100%; - line-height: 100%; }