openfoodfacts / smooth-app

đŸ¤³đŸ¥« The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
827 stars 277 forks source link

Unfortunate layout overflow for allergens on scan card #839

Closed teolemon closed 2 years ago

teolemon commented 2 years ago

What

Screenshots

image image

Part of

monsieurtanuki commented 2 years ago

What would you expect? "Présence inconnue : moutarde" on one line? Another thing is that "Poisson" is probably also an allergen, but as it's "important" there's no additional "allergens" subtitle, it's in the "important" block.

jasmeet0817 commented 2 years ago

so what's happening on the scan card is "Clipping" if the card is too big, only a portion of it is shown. We could employ a different design for scan card, a condensed version of the current card (comma separated values?)

On Mon, 3 Jan 2022 at 22:13, monsieurtanuki @.***> wrote:

What would you expect? "Présence inconnue : moutarde" on one line? Another thing is that "Poisson" is probably also an allergen, but as it's "important" there's no additional "allergens" subtitle, it's in the "important" block.

— Reply to this email directly, view it on GitHub https://github.com/openfoodfacts/smooth-app/issues/839#issuecomment-1004362686, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZRHYRJ5JAHNEDRFMIXXRLUUIGQNANCNFSM5LFZX4DA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Cheers, Jasmeet Singh