Skip to content

Commit

Permalink
fix: fix iconButton lost keyframe when no spin component exist
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiQiangReal committed Jan 6, 2025
1 parent 52750d6 commit 1f982e8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/semi-foundation/button/iconButton.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
$module: #{$prefix}-button;

.#{$module} {
@keyframes #{$prefix}-animation-rotate {
from {
transform: rotate(0);
}
to {
transform: rotate(360deg);
}
}
&.#{$module}-with-icon {
display: inline-flex;
align-items: center;
Expand Down

0 comments on commit 1f982e8

Please sign in to comment.