Skip to content

Commit 2b32899

Browse files
committed
polish selectors
1 parent 43cbb77 commit 2b32899

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

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

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,10 @@ export const gridStyles = css`
215215
border-inline-start-style: solid;
216216
}
217217
218-
[part~='last-frozen-cell'] {
219-
&:not([part~='last-column-cell']) {
220-
border-inline-end-style: solid;
221-
}
218+
[part~='last-frozen-cell']:not([part~='last-column-cell']) {
219+
border-inline-end-style: solid;
222220
223-
&:not([part~='last-column-cell']) + [part~='cell'] {
221+
& + [part~='cell'] {
224222
border-inline-start-style: none;
225223
}
226224
}
@@ -508,9 +506,9 @@ export const gridStyles = css`
508506
inset-block-end: 0;
509507
}
510508
511-
:host([overflow~='top']) #table:not([has-footer]) {
512-
[part~='last-row'] [part~='details-cell']::after,
513-
[part~='last-row']:not([part~='details-opened-row']) [part~='last-row-cell']::after {
509+
[part~='last-row'] [part~='details-cell']::after,
510+
[part~='last-row']:not([part~='details-opened-row']) [part~='last-row-cell']::after {
511+
:host([overflow~='top']) #table:not([has-footer]) & {
514512
inset-block-end: 0;
515513
}
516514
}

0 commit comments

Comments
 (0)