From 57320232a6e3741f6a6a3db74391fb5036bbc26b Mon Sep 17 00:00:00 2001 From: Yuri Tatishchev Date: Tue, 10 Feb 2026 01:17:38 -0800 Subject: [PATCH] fix some ui --- .../components/player/PlayerDesktop.svelte | 192 ++++++++--------- src/lib/components/player/PlayerMobile.svelte | 196 +++++++++--------- 2 files changed, 194 insertions(+), 194 deletions(-) diff --git a/src/lib/components/player/PlayerDesktop.svelte b/src/lib/components/player/PlayerDesktop.svelte index 6cb02cd..c824ecb 100644 --- a/src/lib/components/player/PlayerDesktop.svelte +++ b/src/lib/components/player/PlayerDesktop.svelte @@ -11,107 +11,107 @@
- {#if player.currentTrack} -
- -
- - -
+ {#if player.currentTrack} +
+ +
+ + +
- -
-

- {player.currentTrack.title} -

-

- {player.currentTrack.artist} -

-

- {player.currentTrack.album || - player.currentTrack.animeName || - ""} -

-
+ +
+

+ {player.currentTrack.title} +

+

+ {player.currentTrack.artist} +

+

+ {player.currentTrack.album || + player.currentTrack.animeName || + ""} +

+
- -
- -
- {formatTime(audio.currentTime)} - {formatTime(audio.duration)} -
-
+ +
+ +
+ {formatTime(audio.currentTime)} + {formatTime(audio.duration)} +
+
- -
- -
+ +
+ +
- -
- - -
-
+ +
+ + +
+
- -
+ +
- -
-
-
- -
-
-
- {:else} -
-
- -
-

No track playing

-

- Pick a song from the library to start listening. -

-
- {/if} + +
+
+
+ +
+
+
+ {:else} +
+
+ +
+

No track playing

+

+ Pick a song from the library to start listening. +

+
+ {/if}
diff --git a/src/lib/components/player/PlayerMobile.svelte b/src/lib/components/player/PlayerMobile.svelte index d52f01e..fae72c3 100644 --- a/src/lib/components/player/PlayerMobile.svelte +++ b/src/lib/components/player/PlayerMobile.svelte @@ -12,114 +12,114 @@
-
- - +
+
+ {player.currentTrack?.title || "Unknown Title"} +
+
+ {player.currentTrack?.artist || "Unknown Artist"} +
+
+ - -
- - - - -
-
+ +
+ + + + +
+
- -
-
-
+ +
+
+
- -
- -
-
-
+ +
+ +
+
+
- -
- - -
+ +
+ + +
- -
-

- {player.currentTrack?.title} -

-

- {player.currentTrack?.artist} -

-

- {player.currentTrack?.album || - player.currentTrack?.animeName} -

-
+ +
+

+ {player.currentTrack?.title} +

+

+ {player.currentTrack?.artist} +

+

+ {player.currentTrack?.album || + player.currentTrack?.animeName} +

+
- -
- -
- {formatTime(audio.currentTime)} - {formatTime(audio.duration)} -
-
+ +
+ +
+ {formatTime(audio.currentTime)} + {formatTime(audio.duration)} +
+
- -
- -
+ +
+ +
- - -
-
- -
-
-
-
+ + +
+
+ +
+
+
+