diff --git a/src/scss/_paragraphs.scss b/src/scss/_paragraphs.scss index 6bd9919f..10ec4ed0 100644 --- a/src/scss/_paragraphs.scss +++ b/src/scss/_paragraphs.scss @@ -239,7 +239,10 @@ .paragraph--button { margin-bottom: $spacing-7; - margin-right: $spacing-4; + + .button:not(:last-child) { + margin-right: $spacing-4; + } @include breakpoint(md) { margin-bottom: $spacing-8; diff --git a/src/templates/paragraphs/button.twig b/src/templates/paragraphs/button.twig index cbefa24a..f04bc433 100644 --- a/src/templates/paragraphs/button.twig +++ b/src/templates/paragraphs/button.twig @@ -1 +1,5 @@ -Do something awesome +
+ {% for i in 0..n-1 %} + Do something awesome + {% endfor %} +
diff --git a/src/templates/partials/basic-content.twig b/src/templates/partials/basic-content.twig index 2cd57790..4ffefe04 100644 --- a/src/templates/partials/basic-content.twig +++ b/src/templates/partials/basic-content.twig @@ -90,9 +90,13 @@ {% include 'paragraphs/text.twig' %} - {% include 'paragraphs/button.twig' %} + {% include 'paragraphs/button.twig' with { + n: 2 + }%} - {% include 'paragraphs/button.twig' %} + {# {% include 'paragraphs/button.twig' %} #} + + {% include 'paragraphs/two-col-text.twig' %} {% include 'paragraphs/text-short.twig' %}