Skip to content

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

fix(tables): small row height spacing equalized (#11478)

Nimar1d0567426bb1
diff --git a/web/src/components/table/data-table.tsx b/web/src/components/table/data-table.tsx
index 83b1318045..6c8520061d 100644
--- a/web/src/components/table/data-table.tsx
+++ b/web/src/components/table/data-table.tsx
@@ -567,14 +567,13 @@ function TableBodyComponent<TData>({
<div
className={cn(
"flex",
- "items-start",
- isSmallRowHeight && "items-center",
+ isSmallRowHeight ? "items-center" : "items-start",
!isSmallRowHeight && "py-1",
rowheighttw,
)}
>
{isStringCell && isSmallRowHeight ? (
- <div className="min-w-0 truncate">
+ <div className="min-w-0 truncate leading-none">
{flexRender(
cell.column.columnDef.cell,
cell.getContext(),