Skip to content

Commit 1ce43e6

Browse files
authored
fix: apply editable cell background color on hover (#10582)
1 parent 4004d14 commit 1ce43e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/grid-pro/src/styles/vaadin-grid-pro-base-styles.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ const gridPro = css`
3737
3838
@media (any-hover: hover) {
3939
[part~='body-cell']:is([part~='editable-cell'], :has([part~='editable-cell'])):hover {
40-
--vaadin-grid-row-hover-background-color: var(--_highlight-color);
40+
--vaadin-grid-cell-background-color: var(--_highlight-color);
4141
}
4242
}
4343
4444
:host([navigating]) [part~='body-cell']:is([part~='editable-cell']:focus, :has([part~='editable-cell']:focus)) {
45-
--vaadin-grid-row-highlight-background-color: var(--_highlight-color);
45+
--vaadin-grid-cell-background-color: var(--_highlight-color);
4646
}
4747
4848
/* Indicate editable cells */
140 Bytes
Loading

0 commit comments

Comments
 (0)