awran5 / react-simple-star-rating

A simple react component for adding a star rating to your project.
https://react-simple-star-rating.vercel.app/
MIT License
136 stars 32 forks source link

fix: adds default styling for starsvg #14

Closed jasonpraful closed 2 years ago

jasonpraful commented 2 years ago

Adds default styling (display: inline) to class star-svg to fix v4 bug which causes rating component to render stars vertically.

Reference Issue - #9

Screenshot 2022-02-06 at 15 53 38

jasonpraful commented 2 years ago

@awran5 - could we get this merged please

mikiyasgirma commented 2 years ago

yeah, merge it please

awran5 commented 2 years ago

Thank you guys.

iiaan commented 2 years ago

I have no idea where the star-svg class is located.

JohnyClash commented 1 year ago

@iiaan Create a css class in the css file that controls the component using the Rating component. .star-svg{ display:inline }