feat: add notification

This commit is contained in:
Arman
2024-01-24 14:48:26 +01:00
parent 32fb608429
commit bd431a4752
+6
View File
@@ -133,6 +133,12 @@
{/if}
<DropList show={$feedback.show} scrollable on:blur={toggleFeedback}>
<button class="button is-small is-text" on:click={toggleFeedback}>
<!-- TODO: invert this before release -->
{#if !$feedback.notification}
<span
class="notification u-position-absolute u-inset-block-start-8 u-inset-inline-end-8"
></span>
{/if}
<span class="text">Feedback</span>
</button>
<svelte:fragment slot="other">