Skip to content

Commit 70d2c3f

Browse files
committed
Use different styling for focused and selected rows
1 parent 0ba6a1b commit 70d2c3f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

extensions/ql-vscode/src/view/common/DataGrid.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ const StyledDataGridRow = styled.div<{
4949
& > * {
5050
// Use !important to override the background color set by the hover state
5151
background-color: ${(props) =>
52-
// TODO: Use different colors for selected and focused
5352
props.$focused
54-
? "var(--vscode-editor-selectionBackground) !important"
53+
? "var(--vscode-editor-findMatchHighlightBackground) !important"
5554
: props.$selected
5655
? "var(--vscode-editor-selectionBackground) !important"
5756
: "inherit"};

0 commit comments

Comments
 (0)