fix: layout aside滚动条兼容性问题

This commit is contained in:
allenve 2024-01-08 14:21:20 +08:00
parent 4b414ca9fe
commit de65f81d14

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