Skip to content

Commit 943534d

Browse files
authored
fix: remove double header border when using column groups without header (#6993)
* fix: remove double header border when using column groups without header * add missing material screenshots * remove ineffective test
1 parent 1e6a51e commit 943534d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/grid/theme/lumo/vaadin-grid-styles.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,11 @@ registerStyles(
213213
border-top: 0;
214214
}
215215
216+
/* Hide header row top border if previous row is hidden */
217+
[part~='row'][hidden] + [part~='row'] [part~='header-cell'] {
218+
border-top: 0;
219+
}
220+
216221
[part~='row']:last-child [part~='header-cell'] {
217222
border-bottom: var(--_lumo-grid-border-width) solid transparent;
218223
}

0 commit comments

Comments
 (0)