Improve video title display to ensure it fits on one line
Update the `VideoCard` component to set `line-clamp-1` for the video title, ensuring it displays 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:
parent
cf35fd3d72
commit
d15db9df77
@ -214,7 +214,7 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP
|
||||
|
||||
<div className="space-y-2">
|
||||
<h3
|
||||
className="font-semibold line-clamp-2 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"
|
||||
onClick={() => onClick?.(video)}
|
||||
data-testid={`text-title-${video.id}`}
|
||||
>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user