Improved ticket popup button. Added better separation between tickets in the user view

This commit is contained in:
Marcel Baumgartner 2024-01-16 16:25:34 +01:00
parent 67c846ddc8
commit 4816befa71
2 changed files with 6 additions and 1 deletions

View file

@ -3,7 +3,7 @@
<CascadingValue Value="this">
@if (ViewIndex == 0)
{
<button @onclick="() => SetViewIndex(1)" class="btn btn-lg btn-icon btn-rounded-circle btn-white border border-warning" style="pointer-events: all">
<button @onclick="() => SetViewIndex(1)" class="btn btn-lg btn-icon btn-rounded-circle bg-secondary btn-white border border-2 border-warning" style="pointer-events: all">
<i class="bx bg-lg bx-chat"></i>
</button>
}

View file

@ -51,6 +51,11 @@
<span class="text-muted fs-7 mb-1">@(Formatter.FormatAgoFromDateTime(ticket.CreatedAt))</span>
</div>
</a>
if (ticket.Id != Tickets.Last().Id)
{
<span class="separator"></span>
}
}
}
else