forked from MapComplete/MapComplete
Feature: add possibility to have a title when opening the popup as FloatOver
This commit is contained in:
parent
58dfb93818
commit
5424932f1a
4 changed files with 21 additions and 11 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue