feat(图表): 标题识别空格

This commit is contained in:
wisonic-s 2024-04-23 17:23:50 +08:00
parent 5beb47bd31
commit 0a4e3ec185

View File

@ -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<string | 0>(() => {
if (titleShow.value || trackMenu.value.length > 0 || state.title_remark.show) {
return 12 * scale.value + 'px'
}
return 12
return 0
})
const iconSize = computed<string>(() => {