Skip to content

Commit e10424e

Browse files
committed
Update default line-height
1 parent 57bd9d4 commit e10424e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

plugin/php/customizer/class-controls.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)