Fix #1956 with workaround

This commit is contained in:
Pieter Vander Vennet 2024-07-22 17:24:30 +02:00
parent 4fd592cc4f
commit 8b6ee7075c
6 changed files with 106 additions and 66 deletions

View file

@ -72,14 +72,14 @@
{/if}
</div>
<slot name="close-button">
<div
class="mt-2 h-fit shrink-0 rounded-full border-none p-0 cursor-pointer"
<button
class="mt-2 h-fit shrink-0 rounded-full border-none p-0 cursor-pointer self-center"
on:click={() => state.selectedElement.setData(undefined)}
style="border: 0 !important; padding: 0 !important;"
use:ariaLabel={Translations.t.general.backToMap}
>
<XCircleIcon aria-hidden={true} class="h-8 w-8" />
</div>
</button>
</slot>
</div>