aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/layout/card.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-22 19:26:45 +0200
committerArmand Philippot <git@armandphilippot.com>2022-05-22 19:26:45 +0200
commit0f8f963ba3eccd7fd94785bf7fb216b6287cec57 (patch)
treed937c9cfeecdebe00a418a8b39daa0a116daa40d /src/components/molecules/layout/card.tsx
parentabdcc01386fff0c1caa5d290cffcb0c5be906900 (diff)
chore: adjust dark mode styles
Diffstat (limited to 'src/components/molecules/layout/card.tsx')
-rw-r--r--src/components/molecules/layout/card.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/molecules/layout/card.tsx b/src/components/molecules/layout/card.tsx
index 003060f..e465f76 100644
--- a/src/components/molecules/layout/card.tsx
+++ b/src/components/molecules/layout/card.tsx
@@ -95,7 +95,7 @@ const Card: FC<CardProps> = ({
{title}
</Heading>
</header>
- <div className={styles.tagline}>{tagline}</div>
+ {tagline && <div className={styles.tagline}>{tagline}</div>}
{meta && (
<footer className={styles.footer}>
<Meta