Merge pull request #9360 from allenve/master

fix: layout aside滚动条兼容性问题
This commit is contained in:
hsm-lv 2024-01-08 15:21:18 +08:00 committed by GitHub
commit b2557cceed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -397,20 +397,20 @@ body {
}
.#{$ns}Layout-asideInner {
width: calc(100% + 17px);
position: relative;
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
scrollbar-width: none; /* Firfox */
&::-webkit-scrollbar {
-webkit-appearance: none;
}
&::-webkit-scrollbar:vertical {
width: 17px;
width: 0; /* chrome */
}
}
}