fix: not warpper animation for badge RTL (#34899)

This commit is contained in:
Hamed Mohammadzadeh 2022-04-07 12:45:02 +04:30 committed by GitHub
parent 3de8030e10
commit d49013468a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,15 +31,13 @@
} }
} }
&-zoom-appear, &:not(&-not-a-wrapper).@{badge-prefix-cls}-rtl {
&-zoom-enter { .@{badge-prefix-cls}-zoom-appear,
.@{badge-prefix-cls}-rtl & { .@{badge-prefix-cls}-zoom-enter {
animation-name: antZoomBadgeInRtl; animation-name: antZoomBadgeInRtl;
} }
}
&-zoom-leave { .@{badge-prefix-cls}-zoom-leave {
.@{badge-prefix-cls}-rtl & {
animation-name: antZoomBadgeOutRtl; animation-name: antZoomBadgeOutRtl;
} }
} }
@ -79,7 +77,6 @@
} }
} }
@keyframes antZoomBadgeInRtl { @keyframes antZoomBadgeInRtl {
0% { 0% {
transform: scale(0) translate(-50%, -50%); transform: scale(0) translate(-50%, -50%);