Use centralized loading indicator

This commit is contained in:
2022-04-26 15:23:57 +02:00
parent 4ca2da91f0
commit 464a238f91
17 changed files with 258 additions and 369 deletions

View File

@@ -0,0 +1,22 @@
<script>
import Spinner from "./Spinner.svelte";
export let loading = false
</script>
{#if loading}
<div class="container">
<Spinner/>
</div>
{/if}
<style>
.container {
position: fixed;
top: 10px;
right: 10px;
height: 120px;
width: 120px;
z-index: 1000;
}
</style>