fix hover for cells with null value (#22507)

This commit is contained in:
Hai Cao
2023-03-28 20:19:15 -07:00
committed by GitHub
parent f60bd1335c
commit 83e35ad7f8

View File

@@ -575,7 +575,7 @@ export abstract class GridTableBase<T> extends Disposable implements IView {
this._register(registerThemingParticipant((theme: IColorTheme, collector: ICssStyleCollector) => {
const nullBackground = theme.getColor(queryEditorNullBackground);
if (nullBackground) {
collector.addRule(`.${NULL_CELL_CSS_CLASS} { background: ${nullBackground};}`);
collector.addRule(`.slick-row:not(:hover) .${NULL_CELL_CSS_CLASS} { background: ${nullBackground};}`);
}
}));