Skip to content

Commit

Permalink
Do not highlight unclickable table rows (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
torztomasz committed Mar 29, 2023
1 parent b94ae7d commit f7f265a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/view/components/table/TableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ export function TableRow(props: TableRowProps) {
<td
key={col}
className={cx(
'group-hover:bg-gray-800 group-hover:bg-opacity-40',
!props.link && 'px-2 sm:px-2.5',
!props.link && col === 0 && 'pl-4 sm:pl-5',
!props.link && col === props.cells.length - 1 && 'pr-4 sm:pr-5',
(numeric || monospace) && 'font-mono',
numeric && 'text-right',
props.link && 'cursor-pointer',
props.link &&
'cursor-pointer group-hover:bg-gray-800 group-hover:bg-opacity-40',
!props.link && className
)}
>
Expand Down

0 comments on commit f7f265a

Please sign in to comment.