fix(scroll): 修复屏幕缩放时滚动条异常
This commit is contained in:
parent
708017aaed
commit
f3963ae4ee
@ -237,6 +237,11 @@ export default defineComponent({
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.scrollbar-box ::-webkit-scrollbar {
|
||||||
|
width: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.scrollbar-y {
|
.scrollbar-y {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -244,6 +249,9 @@ export default defineComponent({
|
|||||||
.scroll-wrap {
|
.scroll-wrap {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
scrollbar-color: transparent transparent;
|
||||||
|
scrollbar-track-color: transparent;
|
||||||
|
-ms-scrollbar-track-color: transparent;
|
||||||
}
|
}
|
||||||
.scrollbar-track {
|
.scrollbar-track {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user