elm-ui icon indicating copy to clipboard operation
elm-ui copied to clipboard

Text that was wrapping in 1.1.0 is not wrapping in 1.1.6

Open lucamug opened this issue 5 years ago • 3 comments
trafficstars

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

lucamug avatar May 30 '20 21:05 lucamug

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.

mdgriffith avatar Jun 07 '20 13:06 mdgriffith

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

jpagex avatar Oct 16 '20 16:10 jpagex

Thank you for sharing this workaround 👍 This saved me from rewriting the link contents in Element.html 😌

Viir avatar Feb 21 '23 12:02 Viir