Remove play button from video cards on all devices
Removes the play button overlay from the VideoCard component in client/src/components/video-card.tsx. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/P3O2FU7
This commit is contained in:
parent
8fea0f2c76
commit
29416c68b6
@ -187,14 +187,6 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP
|
||||
{formatDuration(video.duration)}
|
||||
</div>
|
||||
|
||||
{/* Play button overlay - hidden during preview */}
|
||||
{!showPreview && (
|
||||
<div className="absolute inset-0 bg-black/20 group-hover:bg-black/40 transition-all duration-300 flex items-center justify-center">
|
||||
<div className="bg-white/20 backdrop-blur-sm rounded-full w-16 h-16 flex items-center justify-center group-hover:bg-white/30 group-hover:scale-110 transition-all duration-300">
|
||||
<div className="w-0 h-0 border-l-[12px] border-l-white border-y-[8px] border-y-transparent ml-1"></div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="space-y-1">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user