I am having trouble adjusting the font-size of the [pageSizeOptions] in my mat-paginator element in the application.
<mat-paginator [pageSizeOptions]="[10, 20, 30]"></mat-paginator>
The "10" appears too small compared to the text "items per page" displayed next to it.
Even CSS modifications did not work as expected:
.mat-paginator {
font-family: 'Raleway'!important;
font-size: large!important;
}
I tried using theme.scss for a solution:
$custom-typography: mat-typography-config(
$font-family: '"Raleway", "sans-serif"',
$body-2: mat-typography-level(16px, 24px, 600)
);
@include mat-core($custom-typography);
However, I have not been able to make it work. Any suggestions on how to achieve this?