forked from searchspring/snap
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In Rating.jsx, if the rating value is a decimal and disablePartialFill is left as false, the rendered partial star looks like a reduced-size full icon instead of a partial icon.
The fix I used was to specify a min-width value on .ss__icon to match the width value.
min-width: fit-content; is probably a better solution, though, as it allows for the possibility that devs might override the default width and height values. Or whatever solution seems best to resolve the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels