From 1e0d561ec1ae1a8cc4c2a45812af8e20e905bc0d Mon Sep 17 00:00:00 2001 From: isabel Date: Fri, 14 Nov 2025 17:28:25 +0000 Subject: [PATCH] fix: mobile --- src/components/MusicPlayer.astro | 6 +++--- src/pages/blog/[...slug].astro | 12 ++++-------- src/pages/index.astro | 2 +- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/components/MusicPlayer.astro b/src/components/MusicPlayer.astro index ef12ec9..f6d6fd2 100644 --- a/src/components/MusicPlayer.astro +++ b/src/components/MusicPlayer.astro @@ -27,12 +27,12 @@ const { ---
-
+
isabel roses
    {posts.entries().map(([i, post]) => ( diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index 7424dca..bc170d4 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -61,15 +61,11 @@ const nextSlug = posts[posts.indexOf(post) + 1]?.id || null; showingQueue = !showingQueue; if (showingQueue) { - playerImage.classList.remove("opacity-100"); - playerImage.classList.add("opacity-0", "pointer-events-none"); - queueView.classList.remove("pointer-events-none"); - queueView.classList.add("opacity-100"); + queueView.classList.remove("hidden"); + playerImage.classList.add("hidden"); } else { - queueView.classList.remove("opacity-100"); - queueView.classList.add("opacity-0", "pointer-events-none"); - playerImage.classList.remove("pointer-events-none"); - playerImage.classList.add("opacity-100"); + playerImage.classList.remove("hidden"); + queueView.classList.add("hidden"); } }); diff --git a/src/pages/index.astro b/src/pages/index.astro index d4dc935..6d54e30 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -19,7 +19,7 @@ import { SITE_TITLES, SITE_DESCRIPTIONS } from "@lib/consts"; image="/index.png" >