From 02a6d03fdfc92ad2b839fb54cb632b53df5d037e Mon Sep 17 00:00:00 2001 From: antheiz Date: Thu, 29 Aug 2024 10:44:40 +0700 Subject: [PATCH] fix: update loader for rethym on hero --- src/components/Hero.astro | 3 ++- src/lib/musicPlayer.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Hero.astro b/src/components/Hero.astro index 39bdf70..2fa523d 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -40,7 +40,7 @@
-
+ diff --git a/src/lib/musicPlayer.ts b/src/lib/musicPlayer.ts index 911185e..98ec104 100644 --- a/src/lib/musicPlayer.ts +++ b/src/lib/musicPlayer.ts @@ -52,6 +52,7 @@ function updatePlayState(isPlaying: boolean): void { musicControlPlayPauseButton.querySelector('.play-icon')?.classList.add('hidden'); musicControlPlayPauseButton.querySelector('.pause-icon')?.classList.remove('hidden'); heroPlayingStatus.classList.remove('hidden'); + heroPlayingStatus.classList.add('inline-flex'); } else { heroPlayPauseButton.innerHTML = ''; musicControlPlayPauseButton.querySelector('.play-icon')?.classList.remove('hidden');