Skip to content

Commit 6b372d1

Browse files
committed
Highlight hovering rows
Signed-off-by: worksofliam <[email protected]>
1 parent 3e2bdd2 commit 6b372d1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/views/html.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ export function getHeader(options: {withCollapsed?: boolean} = {}): string {
3131
#resultset td {
3232
padding: 5px 15px;
3333
}
34+
35+
#resultset tbody tr:hover {
36+
background-color: var(--vscode-list-hoverBackground);
37+
}
3438
3539
#resultset tbody tr {
3640
border-bottom: 1px solid var(--vscode-activityBar-border);

src/views/results/html.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,7 @@ export function generateScroller(basicSelect: string, isCL: boolean, withCancel?
204204
// Append a text node to the cell
205205
newDiv.appendChild(document.createTextNode(cell === undefined ? 'null' : cell));
206206
}
207-
208-
console.log({isJson, contentMightBeJson})
209-
207+
210208
newCell.appendChild(newDiv);
211209
}
212210
}

0 commit comments

Comments
 (0)