fix drawer scroll bar no animation

This commit is contained in:
jljsj33 2018-08-10 16:47:44 +08:00 committed by 偏右
parent 2ca3661e87
commit 4233c55418

View File

@ -5,6 +5,8 @@
.@{dawer-prefix-cls} { .@{dawer-prefix-cls} {
position: fixed; position: fixed;
top: 0; top: 0;
width: 0%;
height: 100%;
z-index: @zindex-modal; z-index: @zindex-modal;
transition: transform @animation-duration-slow @ease-base-in; transition: transform @animation-duration-slow @ease-base-in;
> * { > * {
@ -53,10 +55,14 @@
&-top, &-top,
&-bottom { &-bottom {
.@{dawer-prefix-cls}-content-wrapper, width: 100%;
.@{dawer-prefix-cls}-content { height: 0%;
.@{dawer-prefix-cls}-content-wrapper {
width: 100%; width: 100%;
} }
&.@{dawer-prefix-cls}-open {
height: 100%;
}
} }
&-top { &-top {
&.@{dawer-prefix-cls}-open { &.@{dawer-prefix-cls}-open {