elm-ui
elm-ui copied to clipboard
Text that was wrapping in 1.1.0 is not wrapping in 1.1.6
This layout of cards of max width = 250px containing wrapped text was working fine in 1.1.0
Since I upgraded to 1.1.6, the text is not wrapping anymore: https://ellie-app.com/8ZxMTFQhrm9a1
Adding an el wrapper around the link (line 31) fix the issue: https://ellie-app.com/8ZxMhK5kLRda1
I wonder if this is a regression or not
Ah, interesting 🤔 It looks like you have a min width of 250px, not a max.
Though I do agree, it feels a little weird. I'll take a deeper look.
I have a similar experience with version 1.1.8 but I do not know if it is a different problem so I put it here as a comment but let me know if your prefer a new issue.
When I add paragraphs inside a column inside a link the text is not wrapping correctly: https://ellie-app.com/bgvrPbrRQK9a1
Adding Element.htmlAttribute (Html.Attributes.style "width" "100%") fixes the problem: https://ellie-app.com/bgvqSGVzxhva1
Thank you for sharing this workaround 👍 This saved me from rewriting the link contents in Element.html 😌