refactor(service-card): add text truncation to service name for improved layout
This commit is contained in:
parent
9061c6eda3
commit
278da049a5
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user