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

Commit 5d0b55f

Browse files
gigituxmikejolley
authored andcommitted
Filter By Rating: fix overlapping stars
1 parent 684e7bd commit 5d0b55f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

assets/js/base/components/product-rating/style.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ $line-height: 1.618;
22

33
.wc-block-components-product-rating {
44
display: block;
5-
line-height: 1;
65

76
span {
87
line-height: $line-height;
@@ -26,6 +25,7 @@ $line-height: 1.618;
2625

2726
&::before {
2827
content: "\53\53\53\53\53";
28+
line-height: $line-height;
2929
top: 0;
3030
left: 0;
3131
right: 0;
@@ -50,6 +50,7 @@ $line-height: 1.618;
5050
right: 0;
5151
position: absolute;
5252
color: inherit;
53+
line-height: $line-height;
5354
white-space: nowrap;
5455
}
5556
}

assets/js/blocks/rating-filter/style.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131

3232
.wc-block-components-product-rating__stars {
3333
display: inline-block;
34-
line-height: 1;
35-
height: 1em;
3634
}
3735

3836
.wc-blocks-components-form-token-field-wrapper {

0 commit comments

Comments
 (0)