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;
5
5
$md-datepicker-non-touch-calendar-cell-size : 40px ;
6
6
$md-datepicker-non-touch-calendar-width :
7
7
$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 ;
8
11
9
12
// Ideally the calendar would have a constant aspect ratio, no matter its size, and we would base
10
13
// 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;
27
30
28
31
.mat-calendar {
29
32
width : $md-datepicker-non-touch-calendar-width ;
33
+ height : $md-datepicker-non-touch-calendar-height ;
30
34
}
31
35
32
36
.mat-datepicker-content-touch {
You can’t perform that action at this time.
0 commit comments