File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11
11
$mat-datepicker-selected-fade-amount : 0.6 ;
12
12
$mat-datepicker-today-fade-amount : 0.2 ;
13
13
14
- .mat-calendar {
14
+ .mat-datepicker-content {
15
15
background-color : mat-color ($background , card );
16
16
}
17
17
Original file line number Diff line number Diff line change @@ -19,12 +19,19 @@ $md-datepicker-touch-max-width: 750px;
19
19
$md-datepicker-touch-max-height : 788px ;
20
20
21
21
22
+ .mat-datepicker-content {
23
+ @include mat-elevation (8 );
24
+
25
+ display : block ;
26
+ }
27
+
22
28
.mat-calendar {
23
29
width : $md-datepicker-non-touch-calendar-width ;
24
- @include mat-elevation (8 );
25
30
}
26
31
27
32
.mat-datepicker-content-touch {
33
+ @include mat-elevation (0 );
34
+
28
35
display : block ;
29
36
// make sure the dialog scrolls rather than being cropped on ludicrously small screens
30
37
max-height : 80vh ;
@@ -41,6 +48,5 @@ $md-datepicker-touch-max-height: 788px;
41
48
min-height : $md-datepicker-touch-min-height ;
42
49
max-width : $md-datepicker-touch-max-width ;
43
50
max-height : $md-datepicker-touch-max-height ;
44
- @include mat-elevation (0 );
45
51
}
46
52
}
You can’t perform that action at this time.
0 commit comments