From f3963ae4eec1ec9f25ca82140c8086b03211a8cc Mon Sep 17 00:00:00 2001 From: Sight <1453017105@qq.com> Date: Fri, 8 Apr 2022 04:15:45 +0000 Subject: [PATCH] =?UTF-8?q?fix(scroll):=20=E4=BF=AE=E5=A4=8D=E5=B1=8F?= =?UTF-8?q?=E5=B9=95=E7=BC=A9=E6=94=BE=E6=97=B6=E6=BB=9A=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/scroll/index.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/component/src/component/scroll/index.vue b/package/component/src/component/scroll/index.vue index f5eb15a3..6c0ee9d8 100644 --- a/package/component/src/component/scroll/index.vue +++ b/package/component/src/component/scroll/index.vue @@ -237,6 +237,11 @@ export default defineComponent({ height: 100%; overflow: hidden !important; } + +.scrollbar-box ::-webkit-scrollbar { + width: 0px !important; +} + .scrollbar-y { position: relative; height: 100%; @@ -244,6 +249,9 @@ export default defineComponent({ .scroll-wrap { height: 100%; overflow-y: scroll; + scrollbar-color: transparent transparent; + scrollbar-track-color: transparent; + -ms-scrollbar-track-color: transparent; } .scrollbar-track { position: absolute;