Skip to content

Commit

Permalink
fix(table): hover effect does not stay on table row when menu on tabl…
Browse files Browse the repository at this point in the history
…e row active

Closes #138
  • Loading branch information
boilund authored and Tigge committed Dec 8, 2021
1 parent e383796 commit 64227e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/core/src/Table/TableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ const TableRowGrid = styled.div<{
}
}
&:focus-within {
box-shadow: ${({ theme }) => theme.shadow.tableRow};
z-index: 1;
}
&.selected {
background-color: ${({ theme }) => theme.color.backgroundPrimary()};
}
Expand Down

0 comments on commit 64227e7

Please sign in to comment.