From acf2d5a0ddbd24c321d95c8f4f9741f3cc8e6faf Mon Sep 17 00:00:00 2001 From: Ozmar Mendoza <47189474+ozzym1096@users.noreply.github.com> Date: Mon, 5 Apr 2021 22:39:36 -0500 Subject: [PATCH] Add px unit to SVG width and height attribute --- star-rating.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/star-rating.svelte b/star-rating.svelte index 2bdbca7..e0aeb23 100644 --- a/star-rating.svelte +++ b/star-rating.svelte @@ -112,8 +112,7 @@ {#each stars as star} + style="fill: url(#gradient{star.raw}); height:{style.styleStarWidth}px; width:{style.styleStarWidth}px">