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 */