chore(SW-369): preamble css

This commit is contained in:
Chuma McPhoy
2024-10-24 17:10:43 +02:00
parent 5e3b2fb8fa
commit 6ce6bbd60b
2 changed files with 3 additions and 5 deletions

View File

@@ -33,9 +33,7 @@ export default async function JoinLoyaltyContact({
</Title> </Title>
<ScandicFriends color="red" /> <ScandicFriends color="red" />
{block.preamble ? ( {block.preamble ? (
<Body textAlign={null} className={styles.preamble}> <Body className={styles.preamble}>{block.preamble}</Body>
{block.preamble}
</Body>
) : null} ) : null}
{block.button ? ( {block.button ? (
<Button <Button

View File

@@ -6,7 +6,7 @@
justify-items: center; justify-items: center;
} }
.preamble { article.wrapper .preamble {
text-align: center; text-align: center;
} }
@@ -33,7 +33,7 @@
justify-items: start; justify-items: start;
} }
.preamble { article.wrapper .preamble {
text-align: left; text-align: left;
} }
} }