mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
优化 asidenav 样式
This commit is contained in:
parent
aa2508542c
commit
b897efe4f2
@ -99,7 +99,13 @@
|
||||
transition: all 0.2s ease-in-out 0s;
|
||||
background-color: $Layout-aside-subList-bg;
|
||||
|
||||
.#{$ns}Layout--folded .#{$ns}AsideNav-item > & {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.is-open > &,
|
||||
.#{$ns}Layout--folded .#{$ns}AsideNav-item .#{$ns}AsideNav-item.is-open > &,
|
||||
.#{$ns}Layout--folded .#{$ns}AsideNav-item:hover > &,
|
||||
.#{$ns}Layout--folded .#{$ns}AsideNav-item:focus > &,
|
||||
.#{$ns}Layout--folded .#{$ns}AsideNav-item:active > & {
|
||||
@ -108,10 +114,6 @@
|
||||
height: auto !important;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.#{$ns}Layout--folded .#{$ns}AsideNav-item.is-open > & {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
&-item {
|
||||
|
@ -378,8 +378,8 @@ body {
|
||||
|
||||
.#{$ns}Layout-asideWrap {
|
||||
overflow: visible;
|
||||
position: relative;
|
||||
top: 0;
|
||||
// position: relative;
|
||||
// top: 0;
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user