Skip to content

Commit

Permalink
SUM-269 | adjust links for dark pill color backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahongsf committed Sep 18, 2024
1 parent 91f4011 commit 0e975db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/patterns/pill-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ const PillCard = ({imageUrl, imageAlt, videoUrl, isArticle, children, bgColor, .
"rs-px-3 flex flex-col pb-[125px] pt-20 @7xl:rs-px-4 @2xl:pb-[175px] @3xl:pb-[225px] @4xl:pb-[300px]",
clsx({
"pt-[125px] @3xl:pt-[175px] @4xl:pt-[225px] @5xl:pt-[250px] @7xl:pt-[300px]": !imageUrl,
"[&_p>a]:text-black-true [&_p>a]:no-underline [&_p>a]:hocus:text-black-true [&_p>a]:hocus:underline":
typeof bgColor == "string" && !bgColor?.includes("semitransparent"),
})
)}
>
Expand Down

0 comments on commit 0e975db

Please sign in to comment.