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(() => {