From d319e24cefcc794db0de642c94036a6b84388f1c Mon Sep 17 00:00:00 2001 From: Niels Lange Date: Mon, 20 Dec 2021 18:27:51 +0700 Subject: [PATCH] Remove full-width mode from cart and checkout block (#5315) --- assets/js/blocks/cart-checkout/cart/index.js | 2 +- .../cart-checkout/cart/inner-blocks/empty-cart-block/block.json | 2 +- .../cart/inner-blocks/filled-cart-block/block.json | 2 +- assets/js/blocks/cart-checkout/checkout/index.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/js/blocks/cart-checkout/cart/index.js b/assets/js/blocks/cart-checkout/cart/index.js index dc925d0cd74..cee53986cb4 100644 --- a/assets/js/blocks/cart-checkout/cart/index.js +++ b/assets/js/blocks/cart-checkout/cart/index.js @@ -32,7 +32,7 @@ const settings = { keywords: [ __( 'WooCommerce', 'woo-gutenberg-products-block' ) ], description: __( 'Shopping cart.', 'woo-gutenberg-products-block' ), supports: { - align: [ 'wide', 'full' ], + align: [ 'wide' ], html: false, multiple: false, __experimentalExposeControlsToChildren: true, diff --git a/assets/js/blocks/cart-checkout/cart/inner-blocks/empty-cart-block/block.json b/assets/js/blocks/cart-checkout/cart/inner-blocks/empty-cart-block/block.json index 001b468af3d..494f627d156 100644 --- a/assets/js/blocks/cart-checkout/cart/inner-blocks/empty-cart-block/block.json +++ b/assets/js/blocks/cart-checkout/cart/inner-blocks/empty-cart-block/block.json @@ -5,7 +5,7 @@ "description": "Contains blocks that are displayed when the cart is empty.", "category": "woocommerce", "supports": { - "align": [ "wide", "full" ], + "align": [ "wide" ], "html": false, "multiple": false, "reusable": false, diff --git a/assets/js/blocks/cart-checkout/cart/inner-blocks/filled-cart-block/block.json b/assets/js/blocks/cart-checkout/cart/inner-blocks/filled-cart-block/block.json index 3165c8215b5..80abe01d7aa 100644 --- a/assets/js/blocks/cart-checkout/cart/inner-blocks/filled-cart-block/block.json +++ b/assets/js/blocks/cart-checkout/cart/inner-blocks/filled-cart-block/block.json @@ -5,7 +5,7 @@ "description": "Contains blocks that are displayed when the cart contains products.", "category": "woocommerce", "supports": { - "align": [ "wide", "full" ], + "align": [ "wide" ], "html": false, "multiple": false, "reusable": false, diff --git a/assets/js/blocks/cart-checkout/checkout/index.tsx b/assets/js/blocks/cart-checkout/checkout/index.tsx index 725c5bed004..b44d1b16231 100644 --- a/assets/js/blocks/cart-checkout/checkout/index.tsx +++ b/assets/js/blocks/cart-checkout/checkout/index.tsx @@ -31,7 +31,7 @@ const settings = { 'woo-gutenberg-products-block' ), supports: { - align: [ 'wide', 'full' ], + align: [ 'wide' ], html: false, multiple: false, },