Disable font-size for the Featured Category block woocommerce/woocommerce-blocks#5681 (https://github.com/woocommerce/woocommerce-blocks/pull/5682)
Disable font-size for the Featured Category block
This commit is contained in:
parent
6ed7034223
commit
2438fcd434
|
@ -40,9 +40,6 @@ registerBlockType( 'woocommerce/featured-category', {
|
||||||
align: [ 'wide', 'full' ],
|
align: [ 'wide', 'full' ],
|
||||||
html: false,
|
html: false,
|
||||||
color: true,
|
color: true,
|
||||||
typography: {
|
|
||||||
fontSize: true,
|
|
||||||
},
|
|
||||||
...( isFeaturePluginBuild() && {
|
...( isFeaturePluginBuild() && {
|
||||||
__experimentalBorder: {
|
__experimentalBorder: {
|
||||||
color: true,
|
color: true,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.wp-block-woocommerce-featured-category {
|
.wp-block-woocommerce-featured-category {
|
||||||
background-color: #000;
|
background-color: $gray-900;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -70,7 +70,6 @@
|
||||||
.wc-block-featured-category__price,
|
.wc-block-featured-category__price,
|
||||||
.wc-block-featured-category__link {
|
.wc-block-featured-category__link {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-size: inherit;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0 48px 16px 48px;
|
padding: 0 48px 16px 48px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
@ -81,7 +80,6 @@
|
||||||
|
|
||||||
div {
|
div {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-size: inherit;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
|
@ -91,7 +89,6 @@
|
||||||
|
|
||||||
.wc-block-featured-category__description {
|
.wc-block-featured-category__description {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-size: inherit;
|
|
||||||
p {
|
p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue