Skip to content

Commit

Permalink
Merge pull request #2664 from DouyinFE/fix_button_keyframeDefine
Browse files Browse the repository at this point in the history
fix: fix iconButton lost keyframe when no spin component exist
  • Loading branch information
DaiQiangReal authored Jan 6, 2025
2 parents 52750d6 + 1f982e8 commit f219141
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 f219141

Please sign in to comment.