Skip to content

Commit d77c13c

Browse files
tidy up of choice cards spacing on smaller breakpoints and button width on phablet and tablet
1 parent 6db7f44 commit d77c13c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,8 +670,8 @@ const styles = {
670670
${from.desktop} {
671671
padding-left: ${space[2]}px;
672672
padding-right: ${space[5]}px;
673+
margin-bottom: ${space[2]}px;
673674
}
674-
margin-bottom: ${space[2]}px;
675675
`,
676676
bodyCopyOverrides: css`
677677
p {
@@ -692,6 +692,9 @@ const styles = {
692692
`,
693693
threeTierChoiceCardsContainer: css`
694694
order: 3;
695+
${until.desktop} {
696+
margin-top: -24px;
697+
}
695698
${from.phablet} {
696699
grid-column: 2;
697700
}
@@ -768,7 +771,7 @@ const styles = {
768771
margin-left: -${space[3]}px;
769772
}
770773
771-
${until.desktop} {
774+
${until.phablet} {
772775
a {
773776
width: calc(100% - 24px);
774777
}
@@ -782,6 +785,10 @@ const styles = {
782785
margin-bottom: 0;
783786
margin-top: ${space[3]}px;
784787
788+
a {
789+
width: 100%;
790+
}
791+
785792
> span {
786793
width: auto;
787794
}

0 commit comments

Comments
 (0)