File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/material/core/typography Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 96
96
// and h6 at 0.67em.
97
97
.mat-h5 , #{$selector } h5 {
98
98
@include mat-typography-font-shorthand (
99
- mat-font-size ($config , body-1 ) * 0.83 ,
99
+ // calc is used here to support css variables
100
+ calc (#{mat-font-size ($config , body-1 )} * 0.83 ),
100
101
mat-font-weight ($config , body-1 ),
101
102
mat-line-height ($config , body-1 ),
102
103
mat-font-family ($config , body-1 )
107
108
108
109
.mat-h6 , #{$selector } h6 {
109
110
@include mat-typography-font-shorthand (
110
- mat-font-size ($config , body-1 ) * 0.67 ,
111
+ // calc is used here to support css variables
112
+ calc (#{mat-font-size ($config , body-1 )} * 0.67 ),
111
113
mat-font-weight ($config , body-1 ),
112
114
mat-line-height ($config , body-1 ),
113
115
mat-font-family ($config , body-1 )
You can’t perform that action at this time.
0 commit comments