Shrink video titles to fit on a single line

Adjust the CSS class for video titles in `video-card.tsx` to use `text-sm` for smaller font size, ensuring titles fit on a single line.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/iazasnP
This commit is contained in:
sebastjanartic 2025-08-30 13:56:19 +00:00
parent d15db9df77
commit bfd769bb4b

View File

@ -214,7 +214,7 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP
<div className="space-y-2">
<h3
className="font-semibold line-clamp-1 hover:text-bunny-blue transition-colors text-bunny-light cursor-pointer"
className="font-semibold line-clamp-1 hover:text-bunny-blue transition-colors text-bunny-light cursor-pointer text-sm"
onClick={() => onClick?.(video)}
data-testid={`text-title-${video.id}`}
>