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;