Skip to content

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

fix(ui): table headers should not wrap (#2956)

Marc Klingen555ac9053501
diff --git a/web/src/components/table/data-table.tsx b/web/src/components/table/data-table.tsx
index bb83adab4b..12d90634d5 100644
--- a/web/src/components/table/data-table.tsx
+++ b/web/src/components/table/data-table.tsx
@@ -214,11 +214,13 @@ export function DataTable<TData extends object, TValue>({
>
{header.isPlaceholder ? null : (
<>
- <div className="select-none">
- {flexRender(
- header.column.columnDef.header,
- header.getContext(),
- )}
+ <div className="flex select-none items-center">
+ <span className="truncate">
+ {flexRender(
+ header.column.columnDef.header,
+ header.getContext(),
+ )}
+ </span>
{columnDef.headerTooltip && (
<DocPopup
description={