ng-matero / extensions

Angular Material Extensions Library.
https://ng-matero.github.io/extensions/
MIT License
388 stars 48 forks source link

mtx-grid force max rows height #274

Closed SYS64738 closed 3 months ago

SYS64738 commented 3 months ago

hi, there's a way to set a specific row height for mtx-grid, overriding material default height ? I need to show many rows possible, even if low.

thank you for your support, have a nice day, r.

nzbin commented 3 months ago

Maybe you mean this, try to define density: -4 https://material.angular.io/guide/theming#defining-a-theme

SYS64738 commented 3 months ago

I already use density set to -2 in my whole application; now I tried to use -3 only for that specific mtx-grid and it looks a little better; unfortunately -4 is not an option, it fires an error since I suppose it breaks the components...

SassError: "mdc-density: size must be between 28px and 40px (inclusive), but received 24px."

thank you, r.