Skip to content

Commit

Permalink
gui/updater: Fix infinite spinner style (#1951)
Browse files Browse the repository at this point in the history
With the upgrade of `cozy-ui` spinners elements need to be styled
differently.
The Updater window spinner was not updated and was still using a
background image instead of a mask.

This is fixed by extending the new `$spin` mixin and using a
background color instead of a fill color.
  • Loading branch information
taratatach authored Sep 7, 2020
1 parent ad36263 commit 67f013d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gui/styles/_updater.styl
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@
margin-top: .5em

.progress-spinner
@extend $icon-spin
background-image embedurl('./node_modules/cozy-ui/assets/icons/ui/spinner.svg')
fill: var(--primaryColor)
display: inline-block
@extend $spin
background-color: var(--primaryColor)
width: 4em
height: 4em
translate: 0 50%
Expand Down

0 comments on commit 67f013d

Please sign in to comment.