Fix the incorrect layout of Rating and Price in Classic Template and Products block (https://github.com/woocommerce/woocommerce-blocks/pull/7932)
* Fix the incorrect layout of Rating and Price in Classic Template There were styles required in Rating Filter that were added globally and influenced the layout of Rating in Products block as well as Classic template. The styles were moved to the Rating Filter block
This commit is contained in:
parent
6aa8a72f8e
commit
05b1b0f32f
|
@ -7,7 +7,6 @@ import { __, sprintf } from '@wordpress/i18n';
|
|||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
import './style.scss';
|
||||
|
||||
const Rating = ( {
|
||||
className,
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
.wc-block-components-product-rating {
|
||||
&__stars {
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
height: 1em;
|
||||
}
|
||||
}
|
|
@ -29,6 +29,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
.wc-block-components-product-rating__stars {
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
.wc-blocks-components-form-token-field-wrapper {
|
||||
flex-grow: 1;
|
||||
max-width: unset;
|
||||
|
|
Loading…
Reference in New Issue