Skip to content

Commit

Permalink
Highlight hovering rows
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <[email protected]>
  • Loading branch information
worksofliam committed Sep 3, 2024
1 parent 3e2bdd2 commit 6b372d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/views/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ export function getHeader(options: {withCollapsed?: boolean} = {}): string {
#resultset td {
padding: 5px 15px;
}
#resultset tbody tr:hover {
background-color: var(--vscode-list-hoverBackground);
}
#resultset tbody tr {
border-bottom: 1px solid var(--vscode-activityBar-border);
Expand Down
4 changes: 1 addition & 3 deletions src/views/results/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,7 @@ export function generateScroller(basicSelect: string, isCL: boolean, withCancel?
// Append a text node to the cell
newDiv.appendChild(document.createTextNode(cell === undefined ? 'null' : cell));
}
console.log({isJson, contentMightBeJson})
newCell.appendChild(newDiv);
}
}
Expand Down

0 comments on commit 6b372d1

Please sign in to comment.