🎩 Elevates ui components

This commit is contained in:
Rune Harlyk
2024-06-08 18:02:58 +02:00
committed by Rune Harlyk
parent 421c7a908b
commit 7005ae7e15
3 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
import MdiHamburgerMenu from '~icons/mdi/hamburger-menu';
</script>
<div class="topbar absolute left-0 top-0 w-full z-10 flex justify-between bg-zinc-800">
<div class="topbar absolute left-0 top-0 w-full z-20 flex justify-between bg-zinc-800">
<div class="flex gap-2 p-2">
<a href="/">
<svelte:component this={MdiHamburgerMenu} class="h-8 w-8"/>
+1 -1
View File
@@ -22,7 +22,7 @@
};
</script>
<div class="toast toast-end mr-4">
<div class="toast toast-end mr-4 z-20">
{#each $notifications as notification (notification.id)}
<div
animate:flip={{ duration: 400 }}
+4 -5
View File
@@ -5,12 +5,11 @@
</script>
<div>
{#if !$socket}
<div class="flex flex-col h-full justify-center items-center">
<Spinner/>
<div class="absolute left-0 flex flex-col w-screen h-screen justify-center items-center backdrop-blur-sm z-10">
<Spinner/>
<h2>Waiting for connection</h2>
</div>
{:else}
<Controls />
<slot/>
{/if}
<Controls />
<slot/>
</div>