From b7c0ded2208907df7b53a86f13aedaa8fdfe2a67 Mon Sep 17 00:00:00 2001 From: Charissa Miller <48832936+clemiller@users.noreply.github.com> Date: Fri, 5 Jan 2024 09:37:59 -0500 Subject: [PATCH] update button positions --- attack-theme/static/style/_layouts.scss | 12 ++---------- attack-theme/templates/macros/contact_card.html | 2 -- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/attack-theme/static/style/_layouts.scss b/attack-theme/static/style/_layouts.scss index 7094f853265..9d3e0ea5aef 100644 --- a/attack-theme/static/style/_layouts.scss +++ b/attack-theme/static/style/_layouts.scss @@ -603,6 +603,8 @@ a.partial-underline { &.button-group { display: flex; justify-content: center; + flex-wrap: wrap; + gap: 12px; } } .card-footer-no-button { @@ -635,16 +637,6 @@ a.partial-underline { } } -.card-button-container { - width: 100%; - display: flex; - justify-content: center; - a { - width: 100%; - margin: 0 8px; - } -} - .card-button { @extend .brand-button; border: 0; diff --git a/attack-theme/templates/macros/contact_card.html b/attack-theme/templates/macros/contact_card.html index d94f9bbb156..f5137848292 100644 --- a/attack-theme/templates/macros/contact_card.html +++ b/attack-theme/templates/macros/contact_card.html @@ -36,7 +36,6 @@ {% if buttons %} {% endif %}