Fix self-closing tags

This commit is contained in:
Jon Staab
2025-02-03 15:01:42 -08:00
parent 34477e8ea6
commit cfbff94b4c
26 changed files with 46 additions and 37 deletions
+2 -2
View File
@@ -44,7 +44,7 @@
class:bg-base-100={active}>
<slot />
{#if !active && notification}
<div class="absolute right-2 top-5 h-2 w-2 rounded-full bg-primary" transition:fade />
<div class="absolute right-2 top-5 h-2 w-2 rounded-full bg-primary" transition:fade></div>
{/if}
</a>
{:else}
@@ -58,7 +58,7 @@
class:text-base-content={active}
class:bg-base-100={active}>
{#if !active && notification}
<div class="absolute right-2 top-5 h-2 w-2 rounded-full bg-primary" transition:fade />
<div class="absolute right-2 top-5 h-2 w-2 rounded-full bg-primary" transition:fade></div>
{/if}
<slot />
</button>