-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rating icons display vertically #29
Comments
Try to add the <Rating
...
emptyClassName="flex"
...
/> Or add some CSS to your stylesheet: .react-simple-star-rating .filled-icons {
display: inline-block !important;
}
.react-simple-star-rating .empty-icons {
display: flex !important;
} |
Tried it all Shows Vertical please fix it |
I have the same issue 👀 |
Change SVG element display property from block to inline-block. I am using Tailwind CSS so I can directly do this by adding class "inline-block". You might need to create "inline-block" custom class. |
Thanks @HardeepsinhSodha !! |
The following fixed me:
By the way I use Chakra UI, its global CSS might break the CSS. |
|
Same issue here! |
When I display the rating, the icons are stacked vertically, I tried setting it in a flexbox but it didn't help.
The text was updated successfully, but these errors were encountered: