File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 13
13
14
14
@mixin mat-bottom-sheet-typography ($config ) {
15
15
.mat-bottom-sheet-container {
16
- // Note: we don't use the line-height, because it's way too big.
17
- font-family : mat-font-family ($config );
18
- font-size : mat-font-size ($config , subheading-2 );
19
- font-weight : mat-font-weight ($config , subheading-2 );
16
+ @include mat-typography-level-to-styles ($config , body- 1);
20
17
}
21
18
}
Original file line number Diff line number Diff line change @@ -25,17 +25,26 @@ $mat-bottom-sheet-container-horizontal-padding: 16px !default;
25
25
}
26
26
}
27
27
28
+ // Applies a border radius to the bottom sheet. Should only be applied when it's not full-screen.
29
+ %_mat-bottom-sheet-container-border-radius {
30
+ border-top-left-radius : 4px ;
31
+ border-top-right-radius : 4px ;
32
+ }
33
+
28
34
.mat-bottom-sheet-container-medium {
35
+ @extend %_mat-bottom-sheet-container-border-radius ;
29
36
min-width : $_mat-bottom-sheet-width-increment * 6 ;
30
37
max-width : calc (100vw - #{$_mat-bottom-sheet-width-increment * 2 } );
31
38
}
32
39
33
40
.mat-bottom-sheet-container-large {
41
+ @extend %_mat-bottom-sheet-container-border-radius ;
34
42
min-width : $_mat-bottom-sheet-width-increment * 8 ;
35
43
max-width : calc (100vw - #{$_mat-bottom-sheet-width-increment * 4 } );
36
44
}
37
45
38
46
.mat-bottom-sheet-container-xlarge {
47
+ @extend %_mat-bottom-sheet-container-border-radius ;
39
48
min-width : $_mat-bottom-sheet-width-increment * 9 ;
40
49
max-width : calc (100vw - #{$_mat-bottom-sheet-width-increment * 6 } );
41
50
}
You can’t perform that action at this time.
0 commit comments