refactor(service-card): add text truncation to service name for improved layout

This commit is contained in:
vchikalkin 2025-08-02 11:11:29 +03:00
parent 9061c6eda3
commit 278da049a5

View File

@ -16,7 +16,7 @@ export function ServiceCard({ active, duration, name }: Readonly<ServiceCardProp
)}
>
<div className="flex w-full items-center justify-between gap-2">
<span className="text-base font-semibold text-foreground">{name}</span>
<span className="truncate text-base font-semibold text-foreground">{name}</span>
{active ? (
<span
className={cn(