Skip to content

Commit d1a3273

Browse files
committed
feat(grid): update font and icon sizes for high density mode
1 parent c913789 commit d1a3273

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ ui-grid {
3131
--ui-grid-filter-container-min-height: 48px;
3232
--ui-grid-foother-height: 32px;
3333
--ui-grid-button-size: 32px;
34-
--ui-grid-main-font-size: 12px;
3534

3635
@include mat.checkbox-density(-3);
3736
@include mat.radio-density(-3);
@@ -46,16 +45,19 @@ ui-grid {
4645
padding: 0;
4746
}
4847

49-
.ui-grid-action-cell mat-icon {
50-
scale: calc(16 / 24);
48+
.ui-grid-refresh-cell,
49+
.ui-grid-action-cell {
50+
mat-icon {
51+
scale: calc(18 / 24);
52+
}
5153
}
5254

5355
mat-checkbox .mdc-checkbox__background {
5456
scale: calc(16 / 18);
5557
}
5658

5759
mat-radio-button .mdc-radio__background {
58-
scale: calc(18 / 20);
60+
scale: calc(16 / 20);
5961
}
6062

6163
[mat-icon-button] .mat-mdc-button-touch-target,

0 commit comments

Comments
 (0)