Skip to content

Commit 2cda810

Browse files
sorting tablet and phablet brekpoint
1 parent 48c41d6 commit 2cda810

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,9 +547,8 @@ const styles = {
547547
${from.phablet} {
548548
padding: ${space[3]}px ${space[3]}px ${space[6]}px ${space[3]}px;
549549
width: 100%;
550-
max-width: 490px;
551550
margin: 0 auto;
552-
grid-template-columns: auto auto auto auto;
551+
grid-template-columns: 1fr auto 1fr;
553552
}
554553
555554
${from.desktop} {
@@ -643,6 +642,7 @@ const styles = {
643642
grid-column: 2;
644643
grid-row: 1;
645644
background: ${background};
645+
max-width: 492px;
646646
}
647647
`,
648648
headerWithImageContainer: (background: string) => css`
@@ -655,6 +655,7 @@ const styles = {
655655
grid-column: 2;
656656
grid-row: 1;
657657
background: ${background};
658+
max-width: 492px;
658659
}
659660
${from.desktop} {
660661
padding-left: ${space[2]}px;
@@ -665,6 +666,7 @@ const styles = {
665666
order: 2;
666667
${from.phablet} {
667668
grid-column: 2;
669+
max-width: 492px;
668670
grid-row: ${showRemindMeLater ? '2' : '2 / span 2'};
669671
}
670672
${from.desktop} {
@@ -697,6 +699,7 @@ const styles = {
697699
}
698700
${from.phablet} {
699701
grid-column: 2;
702+
max-width: 492px;
700703
}
701704
${from.desktop} {
702705
grid-column: 3;

0 commit comments

Comments
 (0)