File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -913,12 +913,12 @@ public function get_frontend_css() {
913913 esc_html ( $ font_style )
914914 );
915915 } elseif ( 'tracking ' === $ type ) {
916- $ font_size = isset ( $ value ['size ' ] ) ? $ value ['size ' ] : 16 ;
917- $ line_height = $ value [ $ type ] / $ font_size ;
918- $ font_vars [] = sprintf (
916+ $ font_size = isset ( $ value ['size ' ] ) ? $ value ['size ' ] : 16 ;
917+ $ line_tracking = $ value [ $ type ] / $ font_size ;
918+ $ font_vars [] = sprintf (
919919 '%s: %srem !important; ' ,
920920 esc_html ( $ var ),
921- esc_html ( $ line_height )
921+ esc_html ( $ line_tracking )
922922 );
923923 } else {
924924 $ font_vars [] = sprintf (
@@ -1714,9 +1714,9 @@ public function get_typography_extra_controls( $token ) {
17141714 'small ' => 2.5 ,
17151715 ],
17161716 'title ' => [
1717- 'large ' => 2 ,
1718- 'medium ' => 2 ,
1719- 'small ' => 1.75 ,
1717+ 'large ' => 1.33 ,
1718+ 'medium ' => 1.75 ,
1719+ 'small ' => 1.57 ,
17201720 ],
17211721 'label ' => [
17221722 'large ' => 1.75 ,
You can’t perform that action at this time.
0 commit comments