Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

"Product Collection X Columns" patterns: align "no reviews" text with the star #11468

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions assets/js/base/components/product-rating/style.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
$line-height: 1.618;

.wc-block-components-product-rating {
display: block;
line-height: 1;

span {
line-height: $line-height;
}

&__stars {
display: inline-block;
overflow: hidden;
position: relative;
width: 5.3em;
height: 1.618em;
line-height: 1.618;
line-height: $line-height;
font-size: 1em;
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
font-family: star;
Expand Down Expand Up @@ -76,7 +82,7 @@
position: relative;
width: 1.5em;
height: 1.618em;
line-height: 1.618;
line-height: $line-height;
font-size: 1em;
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
font-family: star;
Expand Down
Loading