Use centralized loading indicator

This commit is contained in:
Pixeldrain-Server committed 2022-04-26 15:23:57 +02:00
1 parent 4ca2da91f0
commit 464a238f91
17 files changed
+258 -369

No files matched your search

+22
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>