From 24f27b0e87e035985ee301582a6e9452c01e9ef5 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Wed, 17 Sep 2025 07:20:54 +0000 Subject: [PATCH] Improve video card display to show artist and song title on separate lines Update client/src/components/video-card.tsx to display the artist on the first line in uppercase and the song title on the second line, addressing UI issues reported by users. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 45a1dcfc-f8a2-475a-a6b9-96fbb841dc27 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/45a1dcfc-f8a2-475a-a6b9-96fbb841dc27/pjFeepJ --- client/src/components/video-card.tsx | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/client/src/components/video-card.tsx b/client/src/components/video-card.tsx index 9724c23..104b2ed 100644 --- a/client/src/components/video-card.tsx +++ b/client/src/components/video-card.tsx @@ -327,11 +327,13 @@ export default function VideoCard({ video, onClick, className = "", hideOverlay {!showPreview && !hideOverlay && !(isMobile && isVideoPage) && (
- {(video.title.split(' - ')[1] || video.title).substring(0, 50)} + {video.artist ? video.title.substring(0, 50) : (video.title.split(' - ')[1] || video.title).substring(0, 50)}