File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ $md-datepicker-calendar-padding: 8px;
55$md-datepicker-non-touch-calendar-cell-size : 40px ;
66$md-datepicker-non-touch-calendar-width :
77 $md-datepicker-non-touch-calendar-cell-size * 7 + $md-datepicker-calendar-padding * 2 ;
8+ // Based on the natural height of the calendar in a month with 6 rows of dates
9+ // (largest the calendar will get).
10+ $md-datepicker-non-touch-calendar-height : 354px ;
811
912// Ideally the calendar would have a constant aspect ratio, no matter its size, and we would base
1013// these measurements off the aspect ratio. Unfortunately, the aspect ratio does change a little as
@@ -27,6 +30,7 @@ $md-datepicker-touch-max-height: 788px;
2730
2831.mat-calendar {
2932 width : $md-datepicker-non-touch-calendar-width ;
33+ height : $md-datepicker-non-touch-calendar-height ;
3034}
3135
3236.mat-datepicker-content-touch {
You can’t perform that action at this time.
0 commit comments