Skip to content

Commit

Permalink
fix(UI): Fix spinner display
Browse files Browse the repository at this point in the history
'stroke-dasharray' and 'stroke-dashoffset' are not supported in IE11,
and we deleted those styles for spinner by accident in PR shaka-project#3309.
Adding them back to fix the Spinner display.

Change-Id: I5127b1d05d25b9869b7e29f9daf8ce1c6f9b55f2
  • Loading branch information
michellezhuogg committed Apr 20, 2021
1 parent 56d161a commit a59559f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/less/spinner.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,12 @@

/* This is the path element, which draws a circle. */
.shaka-spinner-path {
stroke: #202124;
stroke-dasharray: 20, 200;
stroke-dashoffset: 0;

/* Animate the stroke of this circular path. */
animation: dash 1.5s ease-in-out infinite;
animation: dash 1s ease-in-out infinite;

/* Round the line on the ends. */
stroke-linecap: round;
Expand Down

0 comments on commit a59559f

Please sign in to comment.