Fix Photos grid bottom elements

This commit is contained in:
2021-10-05 23:40:25 +02:00
parent d0fedfcc80
commit 012dba9a6b
2 changed files with 14 additions and 4 deletions

View File

@@ -10,12 +10,12 @@
</script>
{#if tag === 'button'}
<button class={classes}>
<button class={classes} on:click>
<slot />
{text}
</button>
{:else if tag === 'a'}
<a href={url} class={classes}>
<a href={url} class={classes} on:click>
<slot />
<span>{text}</span>
</a>