Remove button aligment from Featured Product and Featured Category blocks (https://github.com/woocommerce/woocommerce-blocks/pull/6156)
This commit is contained in:
parent
992e84dc58
commit
eb8bfedcf1
|
@ -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',
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
|
@ -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',
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue