Skip to content

Commit b2c8338

Browse files
additionally changes to the layout
1 parent a9d45c0 commit b2c8338

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

dotcom-rendering/src/components/marketing/banners/designableBanner/DesignableBannerV2.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ const styles = {
564564
max-width: 1140px;
565565
}
566566
${from.wide} {
567-
grid-template-columns: auto 460px 380px 1fr;
567+
grid-template-columns: auto 460px 485px auto;
568568
}
569569
`,
570570
verticalLine: css`
@@ -596,6 +596,10 @@ const styles = {
596596
top: 10px;
597597
padding-left: ${space[8]}px;
598598
}
599+
600+
${from.wide} {
601+
justify-self: end;
602+
}
599603
`,
600604
// hacky change until we can rework the designable banner header with the correct styles
601605
headerOverrides: css`
@@ -706,6 +710,14 @@ const styles = {
706710
grid-row: 1;
707711
grid-row-end: 3;
708712
}
713+
714+
${until.wide} {
715+
max-width: 380px;
716+
}
717+
718+
${from.wide} {
719+
max-width: 485px;
720+
}
709721
`,
710722
guardianLogoContainer: css`
711723
display: none;

0 commit comments

Comments
 (0)