From 2770241cc3136457f65018e72f89ea8ef5e0d460 Mon Sep 17 00:00:00 2001 From: Pouria Delfanazari Date: Wed, 14 Feb 2024 21:33:26 -0800 Subject: [PATCH] Add border between image and text in link card and external embed --- src/components/dataDisplay/postEmbed/ExternalEmbed.tsx | 2 +- src/components/inputs/editor/LinkCard.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/dataDisplay/postEmbed/ExternalEmbed.tsx b/src/components/dataDisplay/postEmbed/ExternalEmbed.tsx index f61f46af..f680e61f 100644 --- a/src/components/dataDisplay/postEmbed/ExternalEmbed.tsx +++ b/src/components/dataDisplay/postEmbed/ExternalEmbed.tsx @@ -25,7 +25,7 @@ export default function ExternalEmbed(props: Props) { src={embed.external.thumb} alt={embed.external.description} fill - className="rounded-t-2xl object-cover" + className="rounded-t-2xl border-b object-cover" /> )} diff --git a/src/components/inputs/editor/LinkCard.tsx b/src/components/inputs/editor/LinkCard.tsx index 6076854b..bacba5d3 100644 --- a/src/components/inputs/editor/LinkCard.tsx +++ b/src/components/inputs/editor/LinkCard.tsx @@ -57,7 +57,7 @@ export default function LinkCard(props: Props) { src={data.image} alt="Link image" fill - className="rounded-t-2xl object-cover" + className="rounded-t-2xl border-b object-cover" /> )}