From 23dc35ec496849b7f4603c77d5f66a4d0a0fb802 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Fri, 29 Sep 2023 08:37:22 -0500 Subject: Fix centering of content Signed-off-by: Matt Strapp --- app/package.json | 1 + app/src/lib/svelte/Navigation.svelte | 30 ++++++++++++++++---- app/src/routes/+layout.svelte | 9 +++--- pnpm-lock.yaml | 55 +++++++++++++++++++++--------------- 4 files changed, 63 insertions(+), 32 deletions(-) diff --git a/app/package.json b/app/package.json index bf29956..a0bb1a0 100644 --- a/app/package.json +++ b/app/package.json @@ -5,6 +5,7 @@ "@floating-ui/dom": "1.5.3" }, "devDependencies": { + "@iconify/icons-carbon": "1.2.20", "@iconify/svelte": "3.1.4", "@skeletonlabs/skeleton": "2.2.0", "@skeletonlabs/tw-plugin": "0.2.1", diff --git a/app/src/lib/svelte/Navigation.svelte b/app/src/lib/svelte/Navigation.svelte index 724f821..9246c28 100644 --- a/app/src/lib/svelte/Navigation.svelte +++ b/app/src/lib/svelte/Navigation.svelte @@ -1,6 +1,12 @@ - - + + {#if menu} + + + + + Close Menu + + {/if} + + - + Home! @@ -22,9 +40,10 @@ href="/truncate" selected={$page.url.pathname === '/truncate'} on:click={drawerClose} + title="Truncate" > - + Truncate! @@ -33,9 +52,10 @@ href="https://github.com/rosstheross/rosstheross.github.io" rel="noreferrer" on:click={drawerClose} + title="" > - + Source! diff --git a/app/src/routes/+layout.svelte b/app/src/routes/+layout.svelte index c29de33..c866e8c 100644 --- a/app/src/routes/+layout.svelte +++ b/app/src/routes/+layout.svelte @@ -1,6 +1,7 @@