From 192e4be6f4ac9a41b32e33d2203d8a35a583b544 Mon Sep 17 00:00:00 2001 From: ulleo Date: Fri, 14 Feb 2025 17:57:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=A7=86=E5=9B=BE=E6=8F=90=E7=A4=BA=E5=90=8D=E7=A7=B0=E8=BF=87?= =?UTF-8?q?=E9=95=BF=E5=AF=BC=E8=87=B4=E5=B1=95=E7=A4=BA=E9=94=99=E4=BD=8D?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20#14639?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/components/js/panel/common/common_antv.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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' } } },