Skip to content

fix: prevent video cards from overlapping breadcrumb navigation #1862

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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