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 9696 // and h6 at 0.67em.
9797 .mat-h5 , #{$selector } h5 {
9898 @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 ),
100101 mat-font-weight ($config , body-1 ),
101102 mat-line-height ($config , body-1 ),
102103 mat-font-family ($config , body-1 )
107108
108109 .mat-h6 , #{$selector } h6 {
109110 @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 ),
111113 mat-font-weight ($config , body-1 ),
112114 mat-line-height ($config , body-1 ),
113115 mat-font-family ($config , body-1 )
You can’t perform that action at this time.
0 commit comments