forked from MapComplete/MapComplete
UX: add proper delete dialog, add option to report images
This commit is contained in:
parent
8690ad35bb
commit
5b618dc367
18 changed files with 334 additions and 176 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
export let expanded = false
|
||||
export let noBorder = false
|
||||
export let contentClass = noBorder ? "normal-background" : "low-interaction rounded-b p-2"
|
||||
let defaultClass: string = undefined
|
||||
if (noBorder) {
|
||||
defaultClass = "unstyled w-full flex-grow"
|
||||
|
@ -14,7 +15,7 @@
|
|||
<span slot="header" class={!noBorder ? "w-full p-2 text-base" : "w-full"}>
|
||||
<slot name="header" />
|
||||
</span>
|
||||
<div class="low-interaction rounded-b p-2">
|
||||
<div class={contentClass}>
|
||||
<slot />
|
||||
</div>
|
||||
</AccordionItem>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue