Skip to content

Commit 24c55d8

Browse files
authored
Merge pull request #460 from UiPath/feat/dense-grid
feat(grid): increase header row height in high density mode
2 parents 4deaf79 + 413ab2c commit 24c55d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/angular/components/ui-grid/src/ui-grid.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ui-grid {
2626
--ui-grid-action-buttons-spacing: 16px;
2727

2828
&.ui-grid-state-high-density {
29-
--ui-grid-header-row-height: 32px;
29+
--ui-grid-header-row-height: 40px;
3030
--ui-grid-row-height: 32px;
3131
--ui-grid-filter-container-min-height: 48px;
3232
--ui-grid-foother-height: 32px;

projects/angular/components/ui-grid/src/ui-grid.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,7 @@ describe('Component: UiGrid', () => {
11431143
expect(grid.rowSize).toBe(32);
11441144

11451145
const headerRow = fixture.debugElement.query(By.css('.ui-grid-header-row')).nativeElement;
1146-
expect(getComputedStyle(headerRow).height).toBe('32px');
1146+
expect(getComputedStyle(headerRow).height).toBe('40px');
11471147
const contentRow = fixture.debugElement.query(By.css('.ui-grid-row')).nativeElement;
11481148
expect(getComputedStyle(contentRow).height).toBe('32px');
11491149
});

0 commit comments

Comments
 (0)