🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(tables): don't top align for small rows (#10964)
Nimar60452e361645
diff --git a/web/src/components/table/data-table.tsx b/web/src/components/table/data-table.tsxindex 74c5168ee2..83b1318045 100644--- a/web/src/components/table/data-table.tsx+++ b/web/src/components/table/data-table.tsx@@ -569,6 +569,7 @@ function TableBodyComponent<TData>({"flex","items-start",isSmallRowHeight && "items-center",+ !isSmallRowHeight && "py-1",rowheighttw,)}>diff --git a/web/src/components/ui/table.tsx b/web/src/components/ui/table.tsxindex 4d84a1ae2e..0182d99243 100644--- a/web/src/components/ui/table.tsx+++ b/web/src/components/ui/table.tsx@@ -89,7 +89,7 @@ const TableCell = React.forwardRef<<tdref={ref}className={cn(- "h-full px-2 py-0 align-top [&:has([role=checkbox])]:pr-0",+ "h-full px-2 py-0 align-middle [&:has([role=checkbox])]:pr-0","border-b [:last-child_>_&]:border-b-0",className,)}