fix(scroll): 修复屏幕缩放时滚动条异常

This commit is contained in:
Sight 2022-04-08 04:15:45 +00:00 committed by Gitee
parent 708017aaed
commit f3963ae4ee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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;