Skip to content
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

fix: now the back of the dev card no longer peers through when flipped on Safari and Firefox #3931

Merged
merged 2 commits into from
Aug 12, 2024
Merged
Changes from 1 commit
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
8 changes: 7 additions & 1 deletion components/molecules/DevCard/dev-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Tilt from "react-parallax-tilt";
import { FiGlobe } from "react-icons/fi";
import { PiCrownSimpleFill } from "react-icons/pi";
import { HiArrowNarrowRight, HiTrendingDown, HiTrendingUp } from "react-icons/hi";
import clsx from "clsx";
import Button from "components/shared/Button/button";
import openSaucedImg from "img/openSauced-icon.png";
import { getRelativeDays } from "lib/utils/date-utils";
Expand Down Expand Up @@ -102,7 +103,12 @@ export default function DevCard(props: DevCardProps) {
height={348}
/>

<div className="z-10 flex flex-col gap-2 items-center justify-center w-full h-full text-white">
<div
className={clsx(
"z-10 flex flex-col gap-2 items-center justify-center w-full h-full text-white",
isFlipped && "invisible"
nickytonline marked this conversation as resolved.
Show resolved Hide resolved
)}
>
{/** Avatar + @Username **/}
<div className="flex flex-col items-center gap-1">
<Image
Expand Down
Loading