diff --git a/src/routes/(DefaultStyle)/[slug]/grid.svelte b/src/routes/(DefaultStyle)/[slug]/grid.svelte index 868e6cf..47cd4a5 100644 --- a/src/routes/(DefaultStyle)/[slug]/grid.svelte +++ b/src/routes/(DefaultStyle)/[slug]/grid.svelte @@ -14,7 +14,7 @@ {:else if emoji} thumbnail {:else} - ')}' alt="fallback"/> +
{/if}
{date.toLocaleDateString('sv-SE')}
@@ -61,6 +61,11 @@ .emoji { height: 70%; } + .fallback { + width: 100%; + height: 100%; + background: no-repeat center url('data:image/svg+xml,'); + } .tag{ position: absolute;