feat: add resilient cover previews and zoom
This commit is contained in:
@@ -44,6 +44,7 @@ export const CourseCard: React.FC<CourseCardProps> = ({
|
||||
draggable={false}
|
||||
onDragStart={(e) => e.preventDefault()}
|
||||
className="h-full w-full object-cover transition-opacity duration-300 opacity-90 group-hover:opacity-100 rounded-[8px] select-none pointer-events-none"
|
||||
style={{ transform: `scale(${course.coverImageZoom || 1})` }}
|
||||
/>
|
||||
|
||||
{/* Badges on Thumbnail */}
|
||||
|
||||
Reference in New Issue
Block a user