fix: align company data with machines
This commit is contained in:
parent
40e92cf2b9
commit
5de8b2bf7f
3 changed files with 124 additions and 22 deletions
|
|
@ -38,23 +38,23 @@ function TicketRow({ ticket, entering }: { ticket: Ticket; entering: boolean })
|
|||
<Link
|
||||
href={`/tickets/${ticket.id}`}
|
||||
className={cn(
|
||||
"group block rounded-2xl border border-slate-200 bg-white/70 px-6 py-5 transition-all duration-300 hover:border-slate-300 hover:bg-white",
|
||||
"group relative block rounded-2xl border border-slate-200 bg-white/70 px-6 py-5 transition-all duration-300 hover:border-slate-300 hover:bg-white",
|
||||
entering ? "recent-ticket-enter" : ""
|
||||
)}
|
||||
>
|
||||
<div className="absolute right-6 top-5 flex flex-col items-end gap-2 sm:flex-row sm:items-center">
|
||||
<TicketStatusBadge status={ticket.status} className="h-8 px-3.5 text-sm" />
|
||||
<TicketPriorityPill priority={ticket.priority} className="h-8 px-3.5 text-sm" />
|
||||
</div>
|
||||
<div className="flex flex-col gap-4 md:flex-row md:items-start md:justify-between">
|
||||
<div className="min-w-0 space-y-3">
|
||||
<div className="flex items-start justify-between gap-3">
|
||||
<div className="flex flex-wrap items-center gap-2 text-sm font-medium text-neutral-500">
|
||||
<div className="flex items-start gap-3 pr-28 text-sm font-medium text-neutral-500 sm:pr-32">
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
<span className="text-xl font-bold text-neutral-900">#{ticket.reference}</span>
|
||||
<span className="truncate text-neutral-500">{queueLabel}</span>
|
||||
</div>
|
||||
<div className="ml-auto flex items-start gap-2 text-right">
|
||||
<TicketStatusBadge status={ticket.status} className="h-8 px-3.5 text-sm" />
|
||||
<TicketPriorityPill priority={ticket.priority} className="h-8 px-3.5 text-sm" />
|
||||
</div>
|
||||
</div>
|
||||
<div className="space-y-1.5">
|
||||
<div className="space-y-1.5 pr-12 sm:pr-20">
|
||||
<span className="line-clamp-1 text-[20px] font-semibold text-neutral-900 transition-colors group-hover:text-neutral-700">
|
||||
{ticket.subject}
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue