From cd9cd9800857d9398f33cb56252455666bc7cf63 Mon Sep 17 00:00:00 2001 From: Mihkel Martin Kasterpalu Date: Fri, 31 Jan 2025 18:38:58 +0200 Subject: [PATCH] Adjust Image badge and credit styling --- src/lib/components/Image.svelte | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/components/Image.svelte b/src/lib/components/Image.svelte index 8f15251..09c9c49 100644 --- a/src/lib/components/Image.svelte +++ b/src/lib/components/Image.svelte @@ -31,7 +31,7 @@ {/if} - + {author} {/snippet} @@ -49,7 +49,10 @@ {#each tags as { name, description }} - {name} + {name} {description} @@ -65,7 +68,7 @@ class="flex items-center justify-center px-4 py-2 font-mono text-xs font-semibold text-secondary/80 dark:text-primary/80" > {#if image.credit.href} - + {@render creditText( image.credit.author, image.credit.type,