From 2d79f7a28433e08930d2ad4da2df24b8cd5eda4b Mon Sep 17 00:00:00 2001 From: David Calhoun Date: Wed, 10 May 2023 12:37:32 -0400 Subject: [PATCH] fix: Column width sums less than 100% correct align These styles caused columns to align to the center when their width sum did not equal or execeed 100%. Removing these styles did not appear to negatively impact other inner blocks or the use cases outlined in https://github.com/WordPress/gutenberg/pull/25621. --- .../block-editor/src/components/block-list/index.native.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/block-editor/src/components/block-list/index.native.js b/packages/block-editor/src/components/block-list/index.native.js index f085666ac0dd3..fefec246af8ec 100644 --- a/packages/block-editor/src/components/block-list/index.native.js +++ b/packages/block-editor/src/components/block-list/index.native.js @@ -315,10 +315,6 @@ export default function BlockList( { ), horizontal && styles.horizontalContentContainer, - isWider( blockWidth, 'medium' ) && - ( isContentStretch && isMultiBlocks - ? styles.horizontalContentContainerStretch - : styles.horizontalContentContainerCenter ), ] } > { blockClientIds.map(