Skip to content

Commit

Permalink
fix(material-experimental/mdc-paginator): use caption typography for
Browse files Browse the repository at this point in the history
select
  • Loading branch information
mmalerba committed Jan 29, 2021
1 parent 5094eaa commit ba8d5d6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/material-experimental/mdc-paginator/_paginator-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,15 @@

@mixin mat-mdc-paginator-typography($config-or-theme) {
$config: mat-get-typography-config($config-or-theme);
.mat-mdc-paginator {
@include mat-using-mdc-typography($config) {

@include mat-using-mdc-typography($config) {
.mat-mdc-paginator {
@include mdc-typography(caption, $query: $mat-typography-styles-query);
}

.mat-mdc-paginator .mat-mdc-select-value {
font-size: mat-font-size($config, caption);
}
}
}

Expand Down

0 comments on commit ba8d5d6

Please sign in to comment.