diff --git a/assets/js/base/components/product-rating/index.tsx b/assets/js/base/components/product-rating/index.tsx index 5b9bd6a91e1..bc391b3fe70 100644 --- a/assets/js/base/components/product-rating/index.tsx +++ b/assets/js/base/components/product-rating/index.tsx @@ -7,7 +7,6 @@ import { __, sprintf } from '@wordpress/i18n'; /** * Internal dependencies */ -import './style.scss'; const Rating = ( { className, diff --git a/assets/js/base/components/product-rating/style.scss b/assets/js/base/components/product-rating/style.scss deleted file mode 100644 index 6827532c30d..00000000000 --- a/assets/js/base/components/product-rating/style.scss +++ /dev/null @@ -1,7 +0,0 @@ -.wc-block-components-product-rating { - &__stars { - display: inline-block; - line-height: 1; - height: 1em; - } -} diff --git a/assets/js/blocks/rating-filter/style.scss b/assets/js/blocks/rating-filter/style.scss index 5a6c27e68ad..80a7bdfb5a2 100644 --- a/assets/js/blocks/rating-filter/style.scss +++ b/assets/js/blocks/rating-filter/style.scss @@ -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;