[scope] Partial ratings not displaying correctly inside a card content #1566
-
Bug ReportPartial ratings are not displaying inside of .card .content. The number of stars shown is rounded up. Steps to reproduce
Expected resultExpected 3.5 stars when the data-rating is set to 3.5 Actual resultGot 4 Stars displayed Testcasehttps://jsfiddle.net/3kzhjL19/1/ Screenshot (if possible)VersionFomatic 2.8.6 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Confirmed, it's related to the old default behavior of ratings before FUI 2.7.0 |
Beta Was this translation helpful? Give feedback.
-
Hi! I have seen that card content overrides some values that rating is using. If you disable all them it works fine. I think this override is done by: https://fomantic-ui.com/views/card.html#approval |
Beta Was this translation helpful? Give feedback.
-
It seems, the solution is much easier. Just add a color |
Beta Was this translation helpful? Give feedback.
-
Closing, because adding a color is needed anyway and solves the issue out of the higher css specificity |
Beta Was this translation helpful? Give feedback.
It seems, the solution is much easier. Just add a color
ui yellow rating
as needed since FUI 2.7 then it's working even with the default star .https://jsfiddle.net/lubber/tbu7op19/5/