diff --git a/zlt-web/react-web-next/src/global.less b/zlt-web/react-web-next/src/global.less index dd165ee3..3ebcb248 100644 --- a/zlt-web/react-web-next/src/global.less +++ b/zlt-web/react-web-next/src/global.less @@ -72,3 +72,14 @@ html, body, #root { height: 100%; } h1, .ant-typography h1 { font-size: 22px; } h2, .ant-typography h2 { font-size: 18px; } } + +/* Slider tooltip 提示框文字颜色优化 */ +.ant-slider-tooltip-inner { + background-color: rgba(0, 0, 0, 0.75) !important; + color: #fff !important; +} + +.ant-slider .ant-tooltip-inner { + background-color: rgba(0, 0, 0, 0.75) !important; + color: #fff !important; +}