Skip to content

Commit

Permalink
update button positions
Browse files Browse the repository at this point in the history
  • Loading branch information
clemiller committed Jan 5, 2024
1 parent ada3b8e commit b7c0ded
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 2 additions & 10 deletions attack-theme/static/style/_layouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,8 @@ a.partial-underline {
&.button-group {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
}
}
.card-footer-no-button {
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions attack-theme/templates/macros/contact_card.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
{% if buttons %}
<div class="card-footer no-background button-group">
{% for button in buttons %}
<div class="card-button-container">
<a href="{{button.url}}">
<button type="button" class="card-button">
<span class="card-button-text text-nowrap">
Expand All @@ -47,7 +46,6 @@
</span>
</button>
</a>
</div>
{% endfor %}
</div>
{% endif %}
Expand Down

0 comments on commit b7c0ded

Please sign in to comment.