From 6963dffeb5e75e517c57864a73c2ee8495222dbd Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Wed, 28 Jan 2026 16:36:12 -0500 Subject: [PATCH] don't scroll if not too long --- src/components/info/MusicComponent.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/components/info/MusicComponent.tsx b/src/components/info/MusicComponent.tsx index 2fd7da7..334b182 100644 --- a/src/components/info/MusicComponent.tsx +++ b/src/components/info/MusicComponent.tsx @@ -32,12 +32,16 @@ export default function MusicComponent() {
-
-
- {music.title}   - {music.title}   + {music.title.length > 15 ? ( +
+
+ {music.title}   + {music.title}   +
-
+ ) : ( +

{music.title}

+ )}

{music.artist}