Skip to content

Commit 839ba7a

Browse files
committed
Patched Diamond spinner glitch on iOS
On iOS browsers (e.g. Chrome and Safari), the animation from left: 0 -> left: 50% does not get handled correctly. Adding the percent sign fixes this.
1 parent f691969 commit 839ba7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Diamonds.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
width: calc(var(--size) / 4);
1818
height: calc(var(--size) / 4);
1919
position: absolute;
20-
left: 0;
20+
left: 0%;
2121
top: 0;
2222
border-radius: 2px;
2323
background: var(--color);

0 commit comments

Comments
 (0)