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 } -