From 2eb4b6cdeb0140c645706b7fd921976fbf44628e Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 9 May 2022 16:56:53 -0300 Subject: [PATCH] Fixes issue caused by recent handle of default units. --- tainacan-blocksy/inc/global.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tainacan-blocksy/inc/global.php b/tainacan-blocksy/inc/global.php index 2f7b185..3adc75c 100644 --- a/tainacan-blocksy/inc/global.php +++ b/tainacan-blocksy/inc/global.php @@ -63,9 +63,9 @@ blc_call_fnc(['fnc' => 'blocksy_output_responsive'], [ 'selector' => blocksy_prefix_selector('.tainacan-media-component', $prefix), 'variableName' => 'document-height', 'value' => get_theme_mod( $prefix . '_document_height', [ - 'mobile' => '40vh', - 'tablet' => '50vh', - 'desktop' => '60vh', + 'mobile' => '40', + 'tablet' => '50', + 'desktop' => '60', ]), 'unit' => 'vh', 'defaultUnit' => 'vh', @@ -78,9 +78,9 @@ blc_call_fnc(['fnc' => 'blocksy_output_responsive'], [ 'selector' => blocksy_prefix_selector('.tainacan-media-component', $prefix), 'variableName' => 'document-width', 'value' => get_theme_mod( $prefix . '_document_width', [ - 'mobile' => '100%', - 'tablet' => '100%', - 'desktop' => '100%', + 'mobile' => '100', + 'tablet' => '100', + 'desktop' => '100', ]), 'unit' => '%', 'defaultUnit' => '%', @@ -93,9 +93,9 @@ blc_call_fnc(['fnc' => 'blocksy_output_responsive'], [ 'selector' => blocksy_prefix_selector('.tainacan-media-component', $prefix), 'variableName' => 'attachments-carousel-width', 'value' => get_theme_mod( $prefix . '_attachments_carousel_width', [ - 'mobile' => '100%', - 'tablet' => '100%', - 'desktop' => '100%', + 'mobile' => '100', + 'tablet' => '100', + 'desktop' => '100', ]), 'unit' => '%', 'defaultUnit' => '%',