From 271f754ee1e3d5310366d24da739c12aa2f48740 Mon Sep 17 00:00:00 2001 From: dusk Date: Wed, 18 Sep 2024 18:18:00 +0300 Subject: [PATCH] feat: make everything use the banding (no worky on firefox) --- src/components/window.svelte | 28 +++++++++++++++++++--------- src/routes/+layout.svelte | 34 +++++++++++++++++++++------------- 2 files changed, 40 insertions(+), 22 deletions(-) diff --git a/src/components/window.svelte b/src/components/window.svelte index 493d36a..92354d6 100644 --- a/src/components/window.svelte +++ b/src/components/window.svelte @@ -13,20 +13,30 @@ >
-

- {title} -

- {#if iconUri !== ''} - {iconUri} - {/if} +
+

+ {title} +

+ {#if iconUri !== ''} + {iconUri} + {/if} +
- +
+ +
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index f8a6379..bafda29 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -85,12 +85,12 @@ {/each} - - - - - - + + + + + + - +
- {#each menuItems as item} - {@const highlight = isRoute(item.href)} - - {/each} +
+ {#each menuItems as item} + {@const highlight = isRoute(item.href)} + + {/each} +