From d1d601f0285eabb9284f53e7f6404e7fbdf5cc8e Mon Sep 17 00:00:00 2001 From: jialin Date: Mon, 20 Jan 2025 10:27:23 +0800 Subject: [PATCH] chore: tag style --- src/components/auto-tooltip/title-tip.tsx | 8 +++++++- src/global.less | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/components/auto-tooltip/title-tip.tsx b/src/components/auto-tooltip/title-tip.tsx index ecb5e876..524ac6f1 100644 --- a/src/components/auto-tooltip/title-tip.tsx +++ b/src/components/auto-tooltip/title-tip.tsx @@ -21,7 +21,13 @@ const TitleTip: React.FC = (props) => { return (
-
+
{isOverflowing || showTitle ? title || children : ''}
diff --git a/src/global.less b/src/global.less index 182cf1b5..aee8ed88 100644 --- a/src/global.less +++ b/src/global.less @@ -819,6 +819,12 @@ body { } } +.ant-tooltip-inner { + .text-tertiary { + color: var(--color-white-secondary); + } +} + .tooltip-wrapper { display: flex; flex-direction: column;