Skip to content

Commit 3899db3

Browse files
committed
🎨 no text
1 parent cca93b3 commit 3899db3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web/sections/teasers/Teaser/Teaser.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ const Teaser = ({ data, anchor }: TeaserProps) => {
5454
>
5555
{image?.asset && <TeaserImage image={image} />}
5656
</Media>
57-
<Content className={`gap-y-lg grid auto-cols-auto px-8 py-12`}>
57+
<Content className={`grid auto-cols-auto gap-y-lg px-8 py-12`}>
5858
{isBigText ? (
59-
text && <Heading value={text} as="h2" variant="2xl" className="leading-cloudy mb-2" />
59+
text && <Heading value={text} as="h2" variant="2xl" className="mb-2 leading-cloudy" />
6060
) : (
6161
<>
6262
{overline ? (
63-
<hgroup className="flex flex-col gap-2 mb-1">
63+
<hgroup className="mb-1 flex flex-col gap-2">
6464
<Typography as="div" className="text-md">
6565
{overline}
6666
</Typography>
@@ -69,7 +69,7 @@ const Teaser = ({ data, anchor }: TeaserProps) => {
6969
) : (
7070
title && <Heading value={title} as="h2" variant="xl" className="mb-2" />
7171
)}
72-
{toPlainText(text)?.length > 240 ? <Blocks value={text} /> : <IngressText value={text} />}
72+
{text && toPlainText(text)?.length > 240 ? <Blocks value={text} /> : <IngressText value={text} />}
7373
</>
7474
)}
7575
{actions && (

0 commit comments

Comments
 (0)