mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
fix: not warpper animation for badge RTL (#34899)
This commit is contained in:
parent
3de8030e10
commit
d49013468a
@ -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%);
|
||||||
|
Loading…
Reference in New Issue
Block a user