mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
fix drawer scroll bar no animation
This commit is contained in:
parent
2ca3661e87
commit
4233c55418
@ -5,6 +5,8 @@
|
||||
.@{dawer-prefix-cls} {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 0%;
|
||||
height: 100%;
|
||||
z-index: @zindex-modal;
|
||||
transition: transform @animation-duration-slow @ease-base-in;
|
||||
> * {
|
||||
@ -53,10 +55,14 @@
|
||||
|
||||
&-top,
|
||||
&-bottom {
|
||||
.@{dawer-prefix-cls}-content-wrapper,
|
||||
.@{dawer-prefix-cls}-content {
|
||||
width: 100%;
|
||||
height: 0%;
|
||||
.@{dawer-prefix-cls}-content-wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
&.@{dawer-prefix-cls}-open {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
&-top {
|
||||
&.@{dawer-prefix-cls}-open {
|
||||
|
Loading…
Reference in New Issue
Block a user