Fix the staff-row divider on the team detail page to match the player table
divide-y was stacking two borders: the custom .divide-y > * + * rule (top, --color-rule) plus Tailwind's own generated divide-y utility (bottom width/ style with no color, so it fell back to a dark currentColor). Give each staff row its own border-b border-rule instead, the same single-border approach the roster table already uses via .table tbody tr. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ECGMEwrc2k4D8VQuwjstj9
This commit is contained in:
@@ -221,9 +221,9 @@
|
||||
<button class="btn btn-outline btn-sm gap-2" type="button" onclick="document.getElementById('add_staff_modal').showModal()">{% lucide "user-plus" size=14 %} {% trans "Assign staff" %}</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="flex flex-col divide-y">
|
||||
<div class="flex flex-col">
|
||||
{% for assignment in staff %}
|
||||
<div class="flex items-center gap-3 px-4 py-2.5">
|
||||
<div class="flex items-center gap-3 px-4 py-2.5 {% if not forloop.last %}border-b border-rule{% endif %}">
|
||||
<div class="avatar avatar-placeholder">
|
||||
<div class="h-8 w-8 {% if assignment.position.management_position %}bg-club{% endif %}">
|
||||
<span class="text-xs">{{ assignment.member.first_name|slice:":1" }}{{ assignment.member.last_name|slice:":1" }}</span>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user