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 e8a4362e39..28671e896e 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -1004,7 +1004,9 @@ const iconSize = computed(() => { * 保证标题容器高度最小高度不低于图标高度 */ const titleContainerMinHeight = computed(() => { - 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'