Skip to content

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

fix(web): selected table rows get a visible fill in light mode (#17624)

Trang Nguyen3743aa9a903e
diff --git a/web/src/components/table/data-table.tsx b/web/src/components/table/data-table.tsx
index 2681fef719..79cf3dcca9 100644
--- a/web/src/components/table/data-table.tsx
+++ b/web/src/components/table/data-table.tsx
@@ -841,11 +841,10 @@ function TableRowComponent<TData>({
className={cn(
"hover:bg-accent",
!!onRowClick ? "cursor-pointer" : "cursor-default",
- (rowIsSelected || shouldHighlightAllRows) &&
- "bg-muted/40 dark:bg-muted",
selectedRowId && selectedRowId === row.id
- ? "bg-muted/40 dark:bg-muted"
+ ? "bg-accent dark:bg-accent"
: undefined,
+ (rowIsSelected || shouldHighlightAllRows) && "bg-accent dark:bg-accent",
getRowClassName?.(row.original),
)}
>