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 7abf945bac..59456a1f33 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 @@ -133,6 +133,18 @@ export function getTheme(chart: Chart) { boxShadow: '0 4px 8px 0 rgba(0, 0, 0, 0.1)', 'z-index': 2000, position: 'fixed' + }, + 'g2-tooltip-list-item': { + display: 'flex', + 'align-items': 'center' + }, + 'g2-tooltip-name': { + display: 'inline-block', + flex: 1 + }, + 'g2-tooltip-marker': { + 'min-width': '8px', + 'min-height': '8px' } } },