Merge pull request #9282 from dataease/pr@dev-v2@feat_title_space

feat(图表): 标题识别空格
This commit is contained in:
wisonic-s 2024-04-23 17:26:42 +08:00 committed by GitHub
commit 4a07b224c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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