Skip to content

Commit bdf7d81

Browse files
further tweaks for phablet
1 parent 879ea6c commit bdf7d81

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ const styles = {
531531
* {
532532
box-sizing: border-box;
533533
}
534-
${from.tablet} {
534+
${from.phablet} {
535535
border-top: 1px solid ${neutral[0]};
536536
}
537537
b,
@@ -549,7 +549,7 @@ const styles = {
549549
width: 100%;
550550
max-width: 490px;
551551
margin: 0 auto;
552-
grid-template-columns: auto auto auto;
552+
grid-template-columns: auto auto auto auto;
553553
}
554554
555555
${from.desktop} {
@@ -617,7 +617,7 @@ const styles = {
617617

618618
headerContainer: (background: string, bannerHasImage: boolean) => css`
619619
order: ${bannerHasImage ? '2' : '1'};
620-
${until.tablet} {
620+
${until.phablet} {
621621
${bannerHasImage
622622
? ''
623623
: `max-width: calc(100% - 40px - ${space[3]}px);`}
@@ -628,7 +628,7 @@ const styles = {
628628
padding-top: ${space[3]}px;
629629
}
630630
631-
${from.tablet} {
631+
${from.phablet} {
632632
grid-column: 2;
633633
grid-row: 1;
634634
background: ${background};
@@ -640,7 +640,7 @@ const styles = {
640640
${between.mobileMedium.and.tablet} {
641641
order: '2';
642642
}
643-
${from.tablet} {
643+
${from.phablet} {
644644
grid-column: 2;
645645
grid-row: 1;
646646
background: ${background};
@@ -669,7 +669,7 @@ const styles = {
669669
bannerVisualContainer: (background: string) => css`
670670
order: 1;
671671
background: ${background};
672-
${from.tablet} {
672+
${from.phablet} {
673673
grid-column: 2;
674674
grid-row: 1 / span 2;
675675
align-self: flex-start;
@@ -711,15 +711,15 @@ const styles = {
711711
align-self: center;
712712
margin-top: ${space[2]}px;
713713
714-
${from.tablet} {
714+
${from.phablet} {
715715
align-self: end;
716716
}
717717
`,
718718
reminderText: css`
719719
${textSans17};
720720
display: none;
721721
722-
${from.tablet} {
722+
${from.phablet} {
723723
display: inline;
724724
}
725725
`,
@@ -744,7 +744,7 @@ const styles = {
744744
margin-top: ${space[3]}px;
745745
margin-bottom: ${space[2]}px;
746746
747-
${until.phablet} {
747+
${until.mobileMedium} {
748748
width: 100vw;
749749
position: sticky;
750750
bottom: 0;
@@ -763,7 +763,7 @@ const styles = {
763763
padding-top: ${space[3]}px;
764764
}
765765
766-
${from.desktop} {
766+
${from.phablet} {
767767
grid-column: 3;
768768
flex-direction: row;
769769
gap: 0;

0 commit comments

Comments
 (0)