feature request
Like for mat-list, a dense layout mode should be available to show tables with a modified row height and font size to show more packed information
No such layout exist
Table with a lot of rows and no particularly crowded cells might use it to show more rows in a single page.
This should be pretty easy by overriding a little css. Or making your own version from CdkTable. Otherwise, probably covered under https://github.com/angular/material2/issues/4597
I agree that #4597 covers it. If anyone needs an easy fix, overriding the mat-row class allows you to change the min-height value, default is 48, I used 36 for a more dense table. Probably a full solution needs other fixes, for me it is enough.
The fix will change the height of the header row too. If needed, mat-header-row could be used to avoid that, but I have not tried it.
Duplicate of #4597
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
I agree that #4597 covers it. If anyone needs an easy fix, overriding the
mat-rowclass allows you to change themin-heightvalue, default is 48, I used 36 for a more dense table. Probably a full solution needs other fixes, for me it is enough.The fix will change the height of the header row too. If needed,
mat-header-rowcould be used to avoid that, but I have not tried it.