Add handler for alerts
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
data-tip={title}>
|
||||
{@render children?.()}
|
||||
{#if !active && notification}
|
||||
<div class="absolute right-2 top-2 h-2 w-2 rounded-full bg-primary"></div>
|
||||
<div class="absolute right-1 top-1 h-2 w-2 rounded-full bg-primary"></div>
|
||||
{/if}
|
||||
</div>
|
||||
</a>
|
||||
@@ -37,7 +37,7 @@
|
||||
data-tip={title}>
|
||||
{@render children?.()}
|
||||
{#if !active && notification}
|
||||
<div class="absolute right-2 top-2 h-2 w-2 rounded-full bg-primary"></div>
|
||||
<div class="absolute right-1 top-1 h-2 w-2 rounded-full bg-primary"></div>
|
||||
{/if}
|
||||
</div>
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user