Browse Source
Fix drawer flash (#11833)
* fix drawer flash
* remove drawer transition
pull/11837/head
jiang
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
6 deletions
-
components/drawer/style/drawer.less
|
|
@ -7,7 +7,6 @@ |
|
|
|
top: 0; |
|
|
|
width: 0%; |
|
|
|
z-index: @zindex-modal; |
|
|
|
transition: transform @animation-duration-slow @ease-base-in; |
|
|
|
> * { |
|
|
|
transition: transform @animation-duration-slow @ease-base-in; |
|
|
|
} |
|
|
@ -18,8 +17,6 @@ |
|
|
|
.@{dawer-prefix-cls}-content { |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
opacity: 0; |
|
|
|
transition: opacity @animation-duration-slow linear; |
|
|
|
} |
|
|
|
&-left, |
|
|
|
&-right { |
|
|
@ -81,9 +78,6 @@ |
|
|
|
|
|
|
|
&.@{dawer-prefix-cls}-open { |
|
|
|
.@{dawer-prefix-cls} { |
|
|
|
&-content { |
|
|
|
opacity: 1; |
|
|
|
} |
|
|
|
&-mask { |
|
|
|
opacity: 0.3; |
|
|
|
height: 100%; |
|
|
|