Remove button aligment from Featured Product and Featured Category blocks (https://github.com/woocommerce/woocommerce-blocks/pull/6156)

This commit is contained in:
Albert Juhé Lluveras 2022-03-30 10:57:06 +02:00 committed by GitHub
parent 992e84dc58
commit eb8bfedcf1
2 changed files with 6 additions and 4 deletions

View File

@ -271,7 +271,9 @@ const FeaturedCategory = ( {
template={ [ template={ [
[ [
'core/buttons', 'core/buttons',
{}, {
layout: { type: 'flex', justifyContent: 'center' },
},
[ [
[ [
'core/button', 'core/button',
@ -281,7 +283,6 @@ const FeaturedCategory = ( {
'woo-gutenberg-products-block' 'woo-gutenberg-products-block'
), ),
url: category.permalink, url: category.permalink,
align: 'center',
}, },
], ],
], ],

View File

@ -368,7 +368,9 @@ const FeaturedProduct = ( {
template={ [ template={ [
[ [
'core/buttons', 'core/buttons',
{}, {
layout: { type: 'flex', justifyContent: 'center' },
},
[ [
[ [
'core/button', 'core/button',
@ -378,7 +380,6 @@ const FeaturedProduct = ( {
'woo-gutenberg-products-block' 'woo-gutenberg-products-block'
), ),
url: product.permalink, url: product.permalink,
align: 'center',
}, },
], ],
], ],