Fixes issue caused by recent handle of default units.

This commit is contained in:
mateuswetah 2022-05-09 16:56:53 -03:00
parent 993e20671b
commit 2eb4b6cdeb
1 changed files with 9 additions and 9 deletions

View File

@ -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' => '%',