Skip to content

Commit ec62dfb

Browse files
committed
disable negative margins to avoid rows under header being considered visible
1 parent 4944615 commit ec62dfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export const gridStyles = css`
155155
box-sizing: border-box;
156156
background: var(--vaadin-grid-cell-background, var(--vaadin-background-color));
157157
border-block: var(--_row-border-width) solid var(--_border-color);
158-
margin-top: calc(var(--_row-border-width) * -1);
158+
/* margin-top: calc(var(--_row-border-width) * -1); */
159159
160160
/*
161161
Box-shadows are used to create a "fake" border at the end of the cell/row, which is visible when a row/cell ends
@@ -364,7 +364,7 @@ export const gridStyles = css`
364364
inset: 0;
365365
flex: 1;
366366
overflow: hidden;
367-
margin-top: calc(var(--_row-border-width) * -1);
367+
/* margin-top: calc(var(--_row-border-width) * -1); */
368368
}
369369
370370
#emptystaterow {

0 commit comments

Comments
 (0)