Feature: add possibility to have a title when opening the popup as FloatOver

This commit is contained in:
Pieter Vander Vennet 2024-04-12 15:03:45 +02:00
parent 58dfb93818
commit 5424932f1a
4 changed files with 21 additions and 11 deletions

View file

@ -65,6 +65,8 @@
</div>
{/if}
</div>
<slot name="close-button">
<button
class="mt-2 h-fit shrink-0 rounded-full border-none p-0"
on:click={() => state.selectedElement.setData(undefined)}
@ -73,6 +75,7 @@
>
<XCircleIcon aria-hidden={true} class="h-8 w-8" />
</button>
</slot>
</div>
<style>