Skip to content

Commit

Permalink
fix: alert table theming and hover (#2956)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiryous authored Dec 31, 2024
1 parent 5dd4694 commit 6ad036b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions keep-ui/app/(keep)/alerts/alerts-table-body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ export function AlertsTableBody({
<TableRow
id={`alert-row-${row.original.fingerprint}`}
key={row.id}
className={clsx(
"hover:bg-orange-100 cursor-pointer relative",
rowBgColor
)}
className="cursor-pointer relative group"
onClick={(e) => handleRowClick(e, row.original)}
>
{row.getVisibleCells().map((cell) => {
Expand All @@ -120,7 +117,9 @@ export function AlertsTableBody({
key={cell.id}
className={clsx(
cell.column.columnDef.meta?.tdClassName,
className
className,
rowBgColor,
"group-hover:bg-orange-100"
)}
style={style}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export const IncidentTableComponent = (props: Props) => {
style={style}
className={clsx(
className,
"bg-white",
cell.column.id === "actions" ? "p-1" : ""
)}
>
Expand Down

0 comments on commit 6ad036b

Please sign in to comment.