Skip to content

Commit

Permalink
fix(datepicker): center date text properly on android (#5923)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba authored and andrewseguin committed Jul 25, 2017
1 parent a85703b commit bbadd01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/datepicker/calendar-body.scss
Expand Up @@ -50,6 +50,9 @@ $mat-calendar-body-cell-content-size: 100% - $mat-calendar-body-cell-content-mar
width: $mat-calendar-body-cell-content-size;
height: $mat-calendar-body-cell-content-size;

// Prevents text being off-center on Android.
line-height: 1;

border-width: $mat-calendar-body-cell-content-border-width;
border-style: solid;

Expand Down

0 comments on commit bbadd01

Please sign in to comment.