Skip to content

Commit

Permalink
fix: scss in calc error.fix #910
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeLin committed Jun 30, 2022
1 parent 12d1ee1 commit 2d12083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/zarm/src/activity-indicator/style/component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ $activity-indicator-spinner-count : 12;
height: 100%;

&:nth-of-type(#{$i}) {
transform: rotate($i * 30deg);
opacity: 1 - calc(0.75 / $activity-indicator-spinner-count * ($i - 1));
transform: rotate($i * (360 / $activity-indicator-spinner-count) * 1deg);
opacity: $i / $activity-indicator-spinner-count;
}

&::before {
Expand Down

0 comments on commit 2d12083

Please sign in to comment.