You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Think the best solution for now is to use your own svg image and add the spacing on the actual svg image. The background image repeats and there is no way to add spacing to a repeated background image.
I had my own svg image with a bit of white space on the left and right of my star icon but the decimal is off because of the extra margin. So for example when the rating is 3.9, rater-js only paints the 3.7/3.8 and I can clearly see it is not 3.9.
Since like you said it's a repeated background I don't know if there is a good solution for this. Maybe with some recalculation of the %-tage of the background that fills the rater taking into account the extra margin in the svg image.
It would be nice though if in your initialization of rater-js in your javascript could specify something like:
Is it possible to have some margin between stars?
The text was updated successfully, but these errors were encountered: