From 0a4e3ec185bc50e9ba97521cdb78a5725134ed49 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Tue, 23 Apr 2024 17:23:50 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8):=20=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core-frontend/src/views/chart/components/views/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index 71dd9fcee7..f2f93c3c8c 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -128,7 +128,8 @@ const state = reactive({ fontSynthesis: 'style weight', width: 'fit-content', maxWidth: '100%', - wordBreak: 'break-word' + wordBreak: 'break-word', + whiteSpace: 'pre-wrap' } as CSSProperties, drillFilters: [], drillClickDimensionList: [] @@ -589,7 +590,7 @@ const marginBottom = computed(() => { if (titleShow.value || trackMenu.value.length > 0 || state.title_remark.show) { return 12 * scale.value + 'px' } - return 12 + return 0 }) const iconSize = computed(() => {