Reduce transparency of video card titles for better readability

Adjust background opacity from 0.3 to 0.4 for video titles on video cards.

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/DVZN4Rp
This commit is contained in:
sebastjanartic 2025-08-30 15:37:34 +00:00
parent 94fa4d51b9
commit d165402632

View File

@ -212,7 +212,7 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP
{/* Title overlay - only show when not playing preview */}
{!showPreview && (
<div className="absolute bottom-2 left-2 right-2 bg-black/30 text-white px-2 py-1 rounded backdrop-blur-sm z-10">
<div className="absolute bottom-2 left-2 right-2 bg-black/40 text-white px-2 py-1 rounded backdrop-blur-sm z-10">
<div className="truncate font-medium text-sm bg-gradient-to-r from-cyan-400 to-purple-500 bg-clip-text text-transparent">{video.title}</div>
<div className="text-xs text-gray-300 flex items-center space-x-1 mt-0.5">
<span>{formatViews(video.views)}</span>