Skip to content

Commit ece1b51

Browse files
committed
Use different styling for focused and selected rows
1 parent 53203d3 commit ece1b51

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
@@ -50,9 +50,8 @@ const StyledDataGridRow = styled.div<{
5050
& > * {
5151
// Use !important to override the background color set by the hover state
5252
background-color: ${(props) =>
53-
// TODO: Use different colors for selected and focused
5453
props.$focused
55-
? "var(--vscode-editor-selectionBackground) !important"
54+
? "var(--vscode-editor-findMatchHighlightBackground) !important"
5655
: props.$selected
5756
? "var(--vscode-editor-selectionBackground) !important"
5857
: "inherit"};

0 commit comments

Comments
 (0)