forked from MapComplete/MapComplete
UX: add progress bar for uploading images
This commit is contained in:
parent
bb33c43950
commit
221b572a1f
8 changed files with 45 additions and 18 deletions
|
|
@ -1,5 +1,4 @@
|
|||
<script lang="ts">
|
||||
import { twMerge } from "tailwind-merge"
|
||||
import Loading from "../../assets/svg/Loading.svelte"
|
||||
|
||||
export let cls: string = "flex p-1 pl-2"
|
||||
|
|
@ -9,7 +8,7 @@
|
|||
<div class="h-6 w-6 min-w-6 shrink-0 animate-spin self-center">
|
||||
<Loading />
|
||||
</div>
|
||||
<div class="ml-2">
|
||||
<div class="ml-2 w-full">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue