From 2f2921759d450136df2dafd5c566ebf93d76dc93 Mon Sep 17 00:00:00 2001 From: dap1 <15891557205@163.com> Date: Fri, 30 Jun 2023 22:50:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=93=E5=8C=85=E5=90=8E=E5=A4=9C?= =?UTF-8?q?=E9=97=B4=E6=A8=A1=E5=BC=8F=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/design/index.less | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/design/index.less b/src/design/index.less index 77275869..526a3b9c 100644 --- a/src/design/index.less +++ b/src/design/index.less @@ -42,3 +42,27 @@ svg, span { outline: none; } + +/** 打包后夜间模式样式有问题 在这里覆盖 */ +html[data-theme='dark'] { + /** 菜单边框 */ + ul li { + border: none; + } + + ul li:hover { + color: inherit !important; + border: none; + box-shadow: none; + } + + /** 日期输入框 */ + .ant-picker-input > input { + border: none; + } + + .ant-picker-input > input:focus { + color: inherit !important; + box-shadow: none; + } +}