Skip to content

Commit 391c5bd

Browse files
author
Juarez Mota
committed
fix: simplify button container margins and adjust padding for maybe-later variant
1 parent 44a1cfe commit 391c5bd

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -876,8 +876,7 @@ const styles = {
876876
flex-direction: row;
877877
gap: ${space[2]}px;
878878
justify-content: stretch;
879-
margin-left: ${space[2]}px;
880-
margin-right: ${space[2]}px;
879+
margin: 0;
881880
882881
> a {
883882
flex: 1 0 100%;
@@ -886,8 +885,6 @@ const styles = {
886885
887886
${from.tablet} {
888887
justify-content: center;
889-
margin-left: 0px;
890-
margin-right: 0px;
891888
max-width: 100%;
892889
}
893890
@@ -897,7 +894,6 @@ const styles = {
897894
flex: 1 0 50%;
898895
justify-self: stretch;
899896
}
900-
margin-left: 0px;
901897
flex-direction: row;
902898
flex-wrap: nowrap;
903899
justify-content: start;
@@ -986,7 +982,12 @@ const styles = {
986982
.maybe-later & {
987983
flex-direction: row;
988984
flex-wrap: wrap;
989-
padding: ${space[3]}px 0;
985+
padding: ${space[3]}px;
986+
987+
${from.phablet} {
988+
flex-direction: row;
989+
padding: ${space[3]}px 0;
990+
}
990991
}
991992
992993
${until.phablet} {

0 commit comments

Comments
 (0)