Skip to content

Commit 7e7d932

Browse files
JacobCoffeeclaude
andcommitted
fix: normalize button sizes across sponsor management UI
Remove btn-sm from Lock/Unlock buttons on detail page and CSV/+ Sponsorship/ + Sponsor buttons on list page so they match surrounding buttons. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 483fbbd commit 7e7d932

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/sponsors/templates/sponsors/manage/sponsorship_detail.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ <h2>{{ sponsorship.sponsor.name }}</h2>
7777
{% if can_lock %}
7878
<form method="post" action="{% url 'manage_sponsorship_lock' sponsorship.pk %}" style="display:inline;">
7979
{% csrf_token %}<input type="hidden" name="action" value="lock">
80-
<button type="submit" class="btn btn-sm btn-secondary">Lock</button>
80+
<button type="submit" class="btn btn-secondary">Lock</button>
8181
</form>
8282
{% endif %}
8383
{% if can_unlock %}
8484
<form method="post" action="{% url 'manage_sponsorship_lock' sponsorship.pk %}" style="display:inline;">
8585
{% csrf_token %}<input type="hidden" name="action" value="unlock">
86-
<button type="submit" class="btn btn-sm btn-gold">Unlock</button>
86+
<button type="submit" class="btn btn-gold">Unlock</button>
8787
</form>
8888
{% endif %}
8989
</div>

apps/sponsors/templates/sponsors/manage/sponsorship_list.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
{% endif %}
3636
</div>
3737
<div style="margin-left:auto;display:flex;gap:6px;">
38-
<a href="{% url 'manage_sponsorship_export' %}{% if filter_status or filter_year or filter_search %}?{% endif %}{% if filter_status %}status={{ filter_status }}{% endif %}{% if filter_status and filter_year %}&{% endif %}{% if filter_year %}year={{ filter_year }}{% endif %}{% if filter_year and filter_search or filter_status and filter_search %}&{% endif %}{% if filter_search %}search={{ filter_search }}{% endif %}" class="btn btn-sm btn-secondary">CSV</a>
39-
<a href="{% url 'manage_composer' %}?new=1" class="btn btn-sm btn-primary">+ Sponsorship</a>
40-
<a href="{% url 'manage_sponsor_create' %}" class="btn btn-sm btn-secondary" style="border:1px solid #ccc !important;">+ Sponsor</a>
38+
<a href="{% url 'manage_sponsorship_export' %}{% if filter_status or filter_year or filter_search %}?{% endif %}{% if filter_status %}status={{ filter_status }}{% endif %}{% if filter_status and filter_year %}&{% endif %}{% if filter_year %}year={{ filter_year }}{% endif %}{% if filter_year and filter_search or filter_status and filter_search %}&{% endif %}{% if filter_search %}search={{ filter_search }}{% endif %}" class="btn btn-secondary">CSV</a>
39+
<a href="{% url 'manage_composer' %}?new=1" class="btn btn-primary">+ Sponsorship</a>
40+
<a href="{% url 'manage_sponsor_create' %}" class="btn btn-secondary" style="border:1px solid #ccc !important;">+ Sponsor</a>
4141
</div>
4242
</form>
4343
</div>

0 commit comments

Comments
 (0)