From b1b796e3f9972c381e4f7ba7b1a36d5c5e65937c Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Fri, 12 Jul 2024 01:11:54 +0200 Subject: [PATCH] update ui --- src/app.css | 1 - src/routes/+layout.svelte | 16 ++++----- src/routes/+page.svelte | 73 ++++++++++++++++++++++++++++----------- tailwind.config.cjs | 4 +-- 4 files changed, 63 insertions(+), 31 deletions(-) diff --git a/src/app.css b/src/app.css index 016555b4..8d3c2720 100644 --- a/src/app.css +++ b/src/app.css @@ -59,7 +59,6 @@ - .shake-ticker:hover img { animation-name: shake; animation-duration: 0.5s; diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index a9a22333..f3d74485 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -356,14 +356,14 @@ $: { -
+
{#if !data?.user}
+ class="sticky {$screenWidth < 640 && hideHeader ? 'invisible -mt-20' : ''} inset-x-0 top-0 z-30 mx-auto w-full max-w-screen-md border border-[#202020] py-3 sm:py-4 shadow-lg sm:backdrop-blur-sm bg-[#202020] sm:bg-opacity-80 md:top-3 md:rounded-2xl lg:max-w-screen-lg">
@@ -377,25 +377,25 @@ $: {
{:else } -