Formatting

This commit is contained in:
Jon Staab 2026-04-06 09:09:01 -07:00
parent ae2ba6f44d
commit 61c568a112

View file

@ -45,16 +45,23 @@
</script> </script>
{#if href} {#if href}
<a {href} {...restProps} data-tip={title} data-sveltekit-replacestate={replaceState} class={wrapperClass}> <a
{href}
{...restProps}
data-tip={title}
data-sveltekit-replacestate={replaceState}
class={wrapperClass}>
{@render children?.()} {@render children?.()}
{#if notification} {#if notification}
<div class="absolute right-[1.15rem] top-5 h-2 w-2 rounded-full bg-primary" transition:fade></div> <div class="absolute right-[1.15rem] top-5 h-2 w-2 rounded-full bg-primary" transition:fade>
</div>
{/if} {/if}
</a> </a>
{:else} {:else}
<button {...restProps} data-tip={title} class={wrapperClass}> <button {...restProps} data-tip={title} class={wrapperClass}>
{#if notification} {#if notification}
<div class="absolute right-[1.15rem] top-5 h-2 w-2 rounded-full bg-primary" transition:fade></div> <div class="absolute right-[1.15rem] top-5 h-2 w-2 rounded-full bg-primary" transition:fade>
</div>
{/if} {/if}
{@render children?.()} {@render children?.()}
</button> </button>