I need to adjust the height of the MatPaginator in my application as it is taking up too much space.
One way to reduce the height is by using the following CSS:
.mat-paginator-container {
min-height: 20px !important;
.mat-form-field-wrapper {
padding-bottom: 0 !important;
}
}
You can see the result here: https://i.sstatic.net/9kHi2.png
However, the pageSize selector does not adapt well to this size change.
What would be a more effective solution?
Try out the solution on StackBlitz: https://stackblitz.com/edit/angular-kqewpc?file=src/styles.scss