Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: alert table theming and hover #2956

Merged
merged 4 commits into from
Dec 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading