style: 调整图表表头样式 (#18267)

This commit is contained in:
王嘉豪
2026-06-04 10:00:54 +08:00
committed by wangjiahao
parent 7423fe23e5
commit a753ccd934

View File

@@ -988,6 +988,18 @@ const marginBottom = computed<string | 0>(() => {
const iconSize = computed<string>(() => {
return 16 * scale.value + 'px'
})
/**
* 保证标题容器高度最小高度不低于图标高度
*/
const titleContainerMinHeight = computed<string>(() => {
if (['picture-group', 'rich-text'].includes(element.value.innerType)) {
return '0px'
} else if (!titleShow.value) {
return 16 * scale.value + 4 + 'px'
}
return 16 * scale.value + 'px'
})
/**
* 修改透明度
* 边框透明度为0时会是存色顾配置低透明度