forked from MapComplete/MapComplete
Fix #1956 with workaround
This commit is contained in:
parent
4fd592cc4f
commit
8b6ee7075c
6 changed files with 106 additions and 66 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue