From 00e9162d4afd25e6310512bff57ce52f77858ad5 Mon Sep 17 00:00:00 2001 From: gilbert-hernandez Date: Wed, 21 Aug 2024 14:34:11 -0600 Subject: [PATCH] KAD-3245 inner section vertical alignment fixed for tablet/mobile --- includes/blocks/class-kadence-blocks-column-block.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/blocks/class-kadence-blocks-column-block.php b/includes/blocks/class-kadence-blocks-column-block.php index f801b4455..d4e828118 100644 --- a/includes/blocks/class-kadence-blocks-column-block.php +++ b/includes/blocks/class-kadence-blocks-column-block.php @@ -450,7 +450,7 @@ public function build_css( $attributes, $css, $unique_id, $unique_style_id ) { ]; foreach ($alignments as $media_state => $align) { if ( ! empty($align['vertical_align']) ) { - $this->setVerticalAlign($media_state, $align['vertical_align'], $align['direction'], $css, $unique_id); + $this->set_vertical_align($media_state, $align['vertical_align'], $align['direction'], $css, $unique_id); } } $css->set_media_state('desktop'); @@ -855,7 +855,7 @@ public function build_css( $attributes, $css, $unique_id, $unique_style_id ) { return $css->css_output(); } - private function setVerticalAlign($media_state, $media_vertical_align, $media_direction, $css, $unique_id) { + private function set_vertical_align($media_state, $media_vertical_align, $media_direction, $css, $unique_id) { // Restart $align variable to avoid inherit from above value assignment $align = 'center'; $justify_content = '';