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' ],
|
||||
html: false,
|
||||
color: true,
|
||||
typography: {
|
||||
fontSize: true,
|
||||
},
|
||||
...( isFeaturePluginBuild() && {
|
||||
__experimentalBorder: {
|
||||
color: true,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.wp-block-woocommerce-featured-category {
|
||||
background-color: #000;
|
||||
background-color: $gray-900;
|
||||
border-color: transparent;
|
||||
color: #fff;
|
||||
overflow: hidden;
|
||||
|
@ -70,7 +70,6 @@
|
|||
.wc-block-featured-category__price,
|
||||
.wc-block-featured-category__link {
|
||||
color: inherit;
|
||||
font-size: inherit;
|
||||
width: 100%;
|
||||
padding: 0 48px 16px 48px;
|
||||
z-index: 1;
|
||||
|
@ -81,7 +80,6 @@
|
|||
|
||||
div {
|
||||
color: inherit;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
&::before {
|
||||
|
@ -91,7 +89,6 @@
|
|||
|
||||
.wc-block-featured-category__description {
|
||||
color: inherit;
|
||||
font-size: inherit;
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue