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} {
|
.@{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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user