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;
|
justify-items: start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.intro {
|
|
||||||
display: grid;
|
|
||||||
max-width: var(--max-width-text-block);
|
|
||||||
gap: var(--Space-x3);
|
|
||||||
}
|
|
||||||
|
|
||||||
.heading {
|
.heading {
|
||||||
color: var(--Text-Heading);
|
color: var(--Text-Heading);
|
||||||
text-wrap: balance;
|
text-wrap: balance;
|
||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.preamble {
|
||||||
|
max-width: var(--max-width-text-block);
|
||||||
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ export async function CollectionPage() {
|
|||||||
<div className={styles.headerContent}>
|
<div className={styles.headerContent}>
|
||||||
{showHero ? (
|
{showHero ? (
|
||||||
<Typography variant="Body/Lead text">
|
<Typography variant="Body/Lead text">
|
||||||
<p>{header.preamble}</p>
|
<p className={styles.preamble}>{header.preamble}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
@@ -109,7 +109,7 @@ export async function CollectionPage() {
|
|||||||
<h1 className={styles.heading}>{header.heading}</h1>
|
<h1 className={styles.heading}>{header.heading}</h1>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="Body/Lead text">
|
<Typography variant="Body/Lead text">
|
||||||
<p>{header.preamble}</p>
|
<p className={styles.preamble}>{header.preamble}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
{header.top_primary_button?.url ? (
|
{header.top_primary_button?.url ? (
|
||||||
<ButtonLink
|
<ButtonLink
|
||||||
|
|||||||
Reference in New Issue
Block a user