Skip to content

Commit 3eed9ce

Browse files
tempewdaPlatane
authored andcommitted
docs: remove unnecessary whitespace
there is an inconsistency in the whitespace surrounding the URL within the `srcset` attribute, hence we always get the snake in light mode
1 parent 3acebc0 commit 3eed9ce

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,11 @@ Generates a snake game from a github user contributions graph
1111
<picture>
1212
<source
1313
media="(prefers-color-scheme: dark)"
14-
srcset="
15-
https://raw.githubusercontent.com/platane/snk/output/github-contribution-grid-snake-dark.svg
16-
"
14+
srcset="https://raw.githubusercontent.com/platane/snk/output/github-contribution-grid-snake-dark.svg"
1715
/>
1816
<source
1917
media="(prefers-color-scheme: light)"
20-
srcset="
21-
https://raw.githubusercontent.com/platane/snk/output/github-contribution-grid-snake.svg
22-
"
18+
srcset="https://raw.githubusercontent.com/platane/snk/output/github-contribution-grid-snake.svg"
2319
/>
2420
<img
2521
alt="github contribution grid snake animation"

0 commit comments

Comments
 (0)