Skip to content

Commit

Permalink
PHP compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oakesjosh committed Jun 25, 2024
1 parent f03dd2a commit 70458f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/blocks/class-kadence-blocks-row-layout-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function get_custom_layout( $css, $columns, $gap = '', $column1 = null, $
//assume the last column width to make 100
$column_width = abs( $column_width_sum - 100 );
}
$grid_layout_string .= 'minmax(0, calc(' . $column_width . '% - ((' . $gap_string . ' * ' . $columns - 1 . ' )/' . $columns . ')))';
$grid_layout_string .= 'minmax(0, calc(' . $column_width . '% - ((' . $gap_string . ' * ' . ($columns - 1) . ' )/' . $columns . ')))';
$column_width_sum += $column_width;
}
}
Expand Down

0 comments on commit 70458f4

Please sign in to comment.