Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/ContentCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ export const ContentCard = ({
className={`group relative flex h-fit w-full max-w-md cursor-pointer flex-col gap-2 rounded-2xl transition-all duration-300 hover:-translate-y-2`}
>
{markAsCompleted && (
<div className="absolute right-2 top-2 z-10">
<div className="absolute right-2 top-2 z-[1]">
<CheckCircle2 color="green" size={30} fill="lightgreen" />
</div>
)}
{type === 'video' && (
<div className="absolute bottom-12 right-2 z-10 rounded-md p-2 font-semibold text-white">
<div className="absolute bottom-12 right-2 z-[1] rounded-md p-2 font-semibold text-white">
<Play className="size-6" />
</div>
)}
Expand Down