From 09858214f555cc2ae2a9c9c0981eefbfe485db4c Mon Sep 17 00:00:00 2001 From: Niels Lange Date: Mon, 6 Dec 2021 16:32:14 +0700 Subject: [PATCH] Remove full-width mode from cart and checkout block --- 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 0fda0ae76bb..36078749059 100644 --- a/assets/js/blocks/cart-checkout/cart/index.js +++ b/assets/js/blocks/cart-checkout/cart/index.js @@ -28,7 +28,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 28e3f0faf85..3c04699f7cf 100644 --- a/assets/js/blocks/cart-checkout/checkout/index.tsx +++ b/assets/js/blocks/cart-checkout/checkout/index.tsx @@ -27,7 +27,7 @@ const settings = { 'woo-gutenberg-products-block' ), supports: { - align: [ 'wide', 'full' ], + align: [ 'wide' ], html: false, multiple: false, },