Skip to content

Commit

Permalink
KAD-3245 inner section vertical alignment fixed for tablet/mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbert-hernandez committed Aug 21, 2024
1 parent c25015e commit 00e9162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/blocks/class-kadence-blocks-column-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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 = '';
Expand Down

0 comments on commit 00e9162

Please sign in to comment.