Product rating - Inherit the color of the star when no ratings (#49678)

* Inherit the color of the star

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Alba Rincón 2024-07-19 09:23:24 +02:00 committed by GitHub
parent c2bcb0b386
commit e865e1e4f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -88,14 +88,15 @@ $line-height: 1.618;
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
font-family: WooCommerce;
font-weight: 400;
-webkit-text-stroke: 2px var(--wp--preset--color--black, #000);
&::before {
content: "\53";
top: 0;
left: 0;
right: 0;
position: absolute;
color: transparent;
-webkit-text-stroke-color: inherit;
-webkit-text-stroke-width: 2px;
-webkit-text-fill-color: transparent;
white-space: nowrap;
text-align: center;
}

View File

@ -0,0 +1,4 @@
Significance: minor
Type: fix
Product rating - Inherit the color of the star when no ratings