Browse Source

fix drawer scroll bar no animation

pull/11884/head
jljsj33 6 years ago
committed by 偏右
parent
commit
4233c55418
  1. 10
      components/drawer/style/drawer.less

10
components/drawer/style/drawer.less

@ -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…
Cancel
Save