Skip to content

Commit 6dd10ca

Browse files
committed
fixup! chore(mixins): add a cross-browser reliable chessboard background mixin
1 parent e0b5080 commit 6dd10ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/style/mixins.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ $clickable-normal-state-transitions: (
456456
* typically used to visualize transparency.
457457
*/
458458
@mixin add-chessboard-background {
459-
background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%208%208%27%20style%3D%27fill-rule:evenodd;%27%3E%3Cpath%20fill%3D%27rgba(186,186,192,0.16)%27%20d%3D%27M0%200h4v4H0zM4%204h4v4H4z%27/%3E%3C/svg%3E');
459+
background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%208%208%27%20style%3D%27fill-rule%3Aevenodd%3B%27%3E%3Cpath%20fill%3D%27rgba(186%2C186%2C192%2C0.16)%27%20d%3D%27M0%200h4v4H0zM4%204h4v4H4z%27%2F%3E%3C%2Fsvg%3E');
460460
background-size: 0.5rem;
461461
}
462462

0 commit comments

Comments
 (0)