diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts index 59456a1f33..f2589eff8e 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts @@ -140,6 +140,7 @@ export function getTheme(chart: Chart) { }, 'g2-tooltip-name': { display: 'inline-block', + 'line-height': tooltipFontsize + 'px', flex: 1 }, 'g2-tooltip-marker': {