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

This commit is contained in:
王嘉豪
2026-04-15 16:50:53 +08:00
committed by GitHub
parent d0a8614109
commit adcf4e2090

View File

@@ -1004,7 +1004,9 @@ const iconSize = computed<string>(() => {
* 保证标题容器高度最小高度不低于图标高度
*/
const titleContainerMinHeight = computed<string>(() => {
if (!titleShow.value) {
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'