From 95a826321ec2ad49005b1700d29ea65348601dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=99=E7=A0=81=E7=94=9F=E8=8A=B1?= <18523774412@qq.com> Date: Mon, 1 Apr 2024 01:02:33 +0800 Subject: [PATCH] =?UTF-8?q?style:=E4=BC=98=E5=8C=96=E5=86=85=E7=BD=AE?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/styles/element.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/src/styles/element.scss b/web/src/styles/element.scss index 1ddad613..bd59ca04 100644 --- a/web/src/styles/element.scss +++ b/web/src/styles/element.scss @@ -37,7 +37,6 @@ /* dialog滚动条-s */ .el-overlay-dialog, .ba-scroll-style { - scrollbar-width: none; &::-webkit-scrollbar { width: 5px; height: 5px; @@ -54,6 +53,13 @@ } } } +@supports not (selector(::-webkit-scrollbar)) { + .el-overlay-dialog, + .ba-scroll-style { + scrollbar-width: thin; + scrollbar-color: #c8c9cc #eaeaea; + } +} /* dialog滚动条-e */ /* 小屏设备 el-radio-group 样式优化-s */