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"> <CascadingValue Value="this">
@if (ViewIndex == 0) @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> <i class="bx bg-lg bx-chat"></i>
</button> </button>
} }

View File

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