Skip to content

Commit 9f37df3

Browse files
committed
fix dragover indicator position when having header or footer
1 parent 1ba6f9b commit 9f37df3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,7 @@ export const gridStyles = css`
562562
border-top: var(--vaadin-focus-ring-width) solid var(--vaadin-focus-ring-color);
563563
}
564564
565-
[part~='row']:not([part*='first-row'])[dragover='above']::after,
566-
table[has-header] [part*='first-row'][dragover='above']::after {
565+
[part~='row']:not([part~='first-row'])[dragover='above']::after {
567566
top: calc(var(--vaadin-focus-ring-width) / -2);
568567
}
569568
@@ -572,8 +571,7 @@ export const gridStyles = css`
572571
border-bottom: var(--vaadin-focus-ring-width) solid var(--vaadin-focus-ring-color);
573572
}
574573
575-
[part~='row']:not([part*='last-row'])[dragover='below']::after,
576-
table[has-footer] [part*='last-row'][dragover='below']::after {
574+
[part~='row']:not([part~='last-row'])[dragover='below']::after {
577575
bottom: calc(var(--vaadin-focus-ring-width) / -2);
578576
}
579577

0 commit comments

Comments
 (0)