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),
|
'selector' => blocksy_prefix_selector('.tainacan-media-component', $prefix),
|
||||||
'variableName' => 'document-height',
|
'variableName' => 'document-height',
|
||||||
'value' => get_theme_mod( $prefix . '_document_height', [
|
'value' => get_theme_mod( $prefix . '_document_height', [
|
||||||
'mobile' => '40vh',
|
'mobile' => '40',
|
||||||
'tablet' => '50vh',
|
'tablet' => '50',
|
||||||
'desktop' => '60vh',
|
'desktop' => '60',
|
||||||
]),
|
]),
|
||||||
'unit' => 'vh',
|
'unit' => 'vh',
|
||||||
'defaultUnit' => 'vh',
|
'defaultUnit' => 'vh',
|
||||||
|
@ -78,9 +78,9 @@ blc_call_fnc(['fnc' => 'blocksy_output_responsive'], [
|
||||||
'selector' => blocksy_prefix_selector('.tainacan-media-component', $prefix),
|
'selector' => blocksy_prefix_selector('.tainacan-media-component', $prefix),
|
||||||
'variableName' => 'document-width',
|
'variableName' => 'document-width',
|
||||||
'value' => get_theme_mod( $prefix . '_document_width', [
|
'value' => get_theme_mod( $prefix . '_document_width', [
|
||||||
'mobile' => '100%',
|
'mobile' => '100',
|
||||||
'tablet' => '100%',
|
'tablet' => '100',
|
||||||
'desktop' => '100%',
|
'desktop' => '100',
|
||||||
]),
|
]),
|
||||||
'unit' => '%',
|
'unit' => '%',
|
||||||
'defaultUnit' => '%',
|
'defaultUnit' => '%',
|
||||||
|
@ -93,9 +93,9 @@ blc_call_fnc(['fnc' => 'blocksy_output_responsive'], [
|
||||||
'selector' => blocksy_prefix_selector('.tainacan-media-component', $prefix),
|
'selector' => blocksy_prefix_selector('.tainacan-media-component', $prefix),
|
||||||
'variableName' => 'attachments-carousel-width',
|
'variableName' => 'attachments-carousel-width',
|
||||||
'value' => get_theme_mod( $prefix . '_attachments_carousel_width', [
|
'value' => get_theme_mod( $prefix . '_attachments_carousel_width', [
|
||||||
'mobile' => '100%',
|
'mobile' => '100',
|
||||||
'tablet' => '100%',
|
'tablet' => '100',
|
||||||
'desktop' => '100%',
|
'desktop' => '100',
|
||||||
]),
|
]),
|
||||||
'unit' => '%',
|
'unit' => '%',
|
||||||
'defaultUnit' => '%',
|
'defaultUnit' => '%',
|
||||||
|
|
Loading…
Reference in New Issue