Adjust video card title overlay transparency for better readability
Update the background color of the video card title overlay in `client/src/components/video-card.tsx` from `bg-black/50` to `bg-black/30` to decrease its opacity. 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:
parent
2c46b13de8
commit
65725f33c6
@ -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/50 text-white px-2 py-1 rounded backdrop-blur-sm z-10">
|
||||
<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="truncate font-medium text-sm">{video.title}</div>
|
||||
<div className="text-xs text-gray-300 flex items-center space-x-1 mt-0.5">
|
||||
<span>{formatViews(video.views)}</span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user