forked from MapComplete/MapComplete
UX: translate 'creating point', indicate that a new background layer is loading in the selectBackgroundButton
This commit is contained in:
parent
dcc4a98344
commit
7210b3ff5d
8 changed files with 41 additions and 10 deletions
|
@ -2,10 +2,10 @@
|
|||
import { twMerge } from "tailwind-merge"
|
||||
import Loading from "../../assets/svg/Loading.svelte"
|
||||
|
||||
export let cls: string = undefined
|
||||
export let cls: string = "flex p-1 pl-2"
|
||||
</script>
|
||||
|
||||
<div class={twMerge("flex p-1 pl-2", cls)}>
|
||||
<div class={cls}>
|
||||
<div class="min-w-6 h-6 w-6 shrink-0 animate-spin self-center">
|
||||
<Loading />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue