Skip to content

Commit 68b15ce

Browse files
authored
refactor: clean up some grid CSS selectors (#10503)
1 parent c74580f commit 68b15ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const gridStyles = css`
139139
--_non-focused-row-none: none;
140140
}
141141
142-
.row[loading] .body-cell ::slotted(vaadin-grid-cell-content) {
142+
.body-row[loading] .body-cell ::slotted(vaadin-grid-cell-content) {
143143
visibility: hidden;
144144
}
145145
@@ -332,7 +332,7 @@ export const gridStyles = css`
332332
var(--_cell-background-image, none);
333333
}
334334
335-
.body-row[selected] {
335+
.selected-row {
336336
--_row-selected-background-color: var(
337337
--vaadin-grid-row-selected-background-color,
338338
color-mix(in srgb, currentColor 8%, transparent)
@@ -353,7 +353,7 @@ export const gridStyles = css`
353353
}
354354
}
355355
356-
:host([theme~='row-stripes']) [part~='odd-row'] {
356+
:host([theme~='row-stripes']) .odd-row {
357357
--_row-odd-background-color: var(
358358
--vaadin-grid-row-odd-background-color,
359359
color-mix(in srgb, var(--vaadin-text-color) 4%, transparent)

0 commit comments

Comments
 (0)