Skip to content

Commit e3beab8

Browse files
authored
refactor: increase min-height for grid cells in base styles (#10315)
1 parent 5405c1e commit e3beab8

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

packages/crud/test/a11y.test.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ describe('a11y', () => {
1313
await setViewport({ width: 1024, height: 768 });
1414
});
1515

16+
beforeEach(() => {
17+
fixtureSync(`
18+
<style>
19+
:root {
20+
--vaadin-grid-row-border-width: 0px;
21+
}
22+
</style>
23+
`);
24+
});
25+
1626
function focusRestorationTests(testId, createFixture) {
1727
describe(`focus restoration - ${testId}`, () => {
1828
let grid, form, dialog, newButton, saveButton, cancelButton, editButtons;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ export const gridStyles = css`
337337
text-overflow: ellipsis;
338338
padding: var(--vaadin-grid-cell-padding, var(--vaadin-padding-container));
339339
flex: 1;
340+
min-height: 1lh;
340341
min-width: 0;
341342
}
342343

0 commit comments

Comments
 (0)