Skip to content

Commit

Permalink
Layout: Remove double output of align-items in horizontal layouts (#4…
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong authored May 12, 2022
1 parent d52b240 commit 0eca03e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/block-supports/layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ function gutenberg_get_layout_style( $selector, $layout, $has_block_gap_support

$style .= "flex-wrap: $flex_wrap;";
if ( 'horizontal' === $layout_orientation ) {
$style .= 'align-items: center;';
/**
* Add this style only if is not empty for backwards compatibility,
* since we intend to convert blocks that had flex layout implemented
Expand Down

0 comments on commit 0eca03e

Please sign in to comment.