mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:48:13 +08:00
fix: layout aside滚动条兼容性问题
This commit is contained in:
parent
4b414ca9fe
commit
de65f81d14
@ -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 */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user