openfoodnetwork icon indicating copy to clipboard operation
openfoodnetwork copied to clipboard

(Fix) Product description not correctly truncated

Open wandji20 opened this issue 7 months ago • 5 comments

What? Why?

  • Closes #10685

Set CSS white-space property to normal and unify height and line-height CSS values

What should we test?

Test possible combinations of very long product descriptions with and without line breaks to confirm text is properly truncated. Screenshot from 2024-07-01 19-16-14 image

Expected result

image

Release notes

N/A

Changelog Category (reviewers may add a label for the release notes):

  • [ ] User facing changes
  • [ ] Technical changes only

Dependencies

N/A

Documentation updates

N/A

wandji20 avatar Jul 01 '24 18:07 wandji20