fix(BOOK-770): Re added max-width to preamble on collection pages
Approved-by: Bianca Widstam
This commit is contained in:
@@ -59,18 +59,16 @@
|
||||
justify-items: start;
|
||||
}
|
||||
|
||||
.intro {
|
||||
display: grid;
|
||||
max-width: var(--max-width-text-block);
|
||||
gap: var(--Space-x3);
|
||||
}
|
||||
|
||||
.heading {
|
||||
color: var(--Text-Heading);
|
||||
text-wrap: balance;
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
.preamble {
|
||||
max-width: var(--max-width-text-block);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -101,7 +101,7 @@ export async function CollectionPage() {
|
||||
<div className={styles.headerContent}>
|
||||
{showHero ? (
|
||||
<Typography variant="Body/Lead text">
|
||||
<p>{header.preamble}</p>
|
||||
<p className={styles.preamble}>{header.preamble}</p>
|
||||
</Typography>
|
||||
) : (
|
||||
<>
|
||||
@@ -109,7 +109,7 @@ export async function CollectionPage() {
|
||||
<h1 className={styles.heading}>{header.heading}</h1>
|
||||
</Typography>
|
||||
<Typography variant="Body/Lead text">
|
||||
<p>{header.preamble}</p>
|
||||
<p className={styles.preamble}>{header.preamble}</p>
|
||||
</Typography>
|
||||
{header.top_primary_button?.url ? (
|
||||
<ButtonLink
|
||||
|
||||
Reference in New Issue
Block a user