mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +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,9 +55,13 @@
|
|||||||
|
|
||||||
&-top,
|
&-top,
|
||||||
&-bottom {
|
&-bottom {
|
||||||
.@{dawer-prefix-cls}-content-wrapper,
|
|
||||||
.@{dawer-prefix-cls}-content {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 0%;
|
||||||
|
.@{dawer-prefix-cls}-content-wrapper {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
&.@{dawer-prefix-cls}-open {
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&-top {
|
&-top {
|
||||||
|
Loading…
Reference in New Issue
Block a user