Skip to content

Commit

Permalink
Spinner remove transition
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeLin committed Oct 16, 2017
1 parent 9102e3d commit 3d9a95a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions styles/components/Progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ $prefixCls: za-progress;
transition: width .3s;
}

.za-spinner-line {
transition: stroke-dasharray .3s;
}

&.shape-circle {
display: inline-block;
width: r(150);
Expand Down
1 change: 0 additions & 1 deletion styles/components/Spinner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ $PI: 3.141592674;

&-line {
stroke-dasharray: 100 * $PI;
transition: stroke-dasharray .3s;
}

&-text {
Expand Down

0 comments on commit 3d9a95a

Please sign in to comment.