-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
Nutri-Score icon is not displayed correctly #2205
Comments
Hi @VaiTon! Suggestions about fix/debug:
|
It's caused by the server. @stephanegigandet updated the visual assets based on Quentin's suggestions |
That's strange, the Nutri-Score SVG images have exactly the same size as before, 240x130 px. e.g. |
@stephanegigandet It has nothing to do with the whole size; it has something to do with some crop effect not well understood (or over-interpreted) by |
ok, I can try to remove the transform-matrix then |
There's something different that was added/removed for B and D. |
I'm regenerating the SVG without transforms etc. |
SVGO does not have an option to flatten SVG paths unfortunately |
Seems to be solved by openfoodfacts/openfoodfacts-server#6872 (I deployed the new SVG icons in production, you should get them by restarting the app) |
@stephanegigandet I confirm: all 6 nutriscore icons look fine now 👍 |
What
A picture is worth a thousand words!
The text was updated successfully, but these errors were encountered: