Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(table-link): fix alignment (#11074)

marliessophief5c8b3db1a5e
diff --git a/web/src/components/table/table-link.tsx b/web/src/components/table/table-link.tsx
index 7f64d523fa..698f27084e 100644
--- a/web/src/components/table/table-link.tsx
+++ b/web/src/components/table/table-link.tsx
@@ -28,15 +28,18 @@ export default function TableLink({
return (
<Link
className={cn(
- "inline-block max-w-full overflow-hidden text-ellipsis text-nowrap rounded px-2 py-0.5 text-xs font-semibold text-accent-dark-blue hover:text-primary-accent/60",
+ "inline-block max-w-full text-xs font-semibold text-accent-dark-blue hover:text-primary-accent/60",
className,
+ icon && "max-h-4",
)}
href={path}
title={title || value}
prefetch={false}
onClick={handleClick}
>
- {icon ? icon : value}
+ <span className="inline-block max-w-full overflow-hidden text-ellipsis text-nowrap">
+ {icon ? <span className="inline-block">{icon}</span> : value}
+ </span>
</Link>
);
}