Skip to content

Commit 3a357f8

Browse files
committed
fix: supply proper argument to create_style
1 parent b478f16 commit 3a357f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/global-settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ public function generate_typography_styles( $selector, $styles ) {
826826
if ( isset( $styles['tabletFontSize'] ) ) {
827827
$clamp_tablet_value = $this->clamp_inherited_style( $styles['tabletFontSize'], $inherit_max );
828828
if ( ! empty( $clamp_tablet_value ) ) {
829-
$font_size = $this->create_style( $this->clean_font_size( 'font-size', $clamp_tablet_value, $styles['tabletFontSizeUnit'] ) );
829+
$font_size = $this->create_style( 'font-size', $this->clean_font_size( $clamp_tablet_value, $styles['tabletFontSizeUnit'] ) );
830830
}
831831
}
832832
if ( empty( $clamp_tablet_value ) ) {

0 commit comments

Comments
 (0)