Fixes issue caused by recent handle of default units.
This commit is contained in:
parent
993e20671b
commit
2eb4b6cdeb
|
@ -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' => '%',
|
||||
|
|
Loading…
Reference in New Issue