Could we have the ability to break text/wrap text?

My use case is that I’m trying to replicate the discount page for a custom discount. Outside of 1 or 2 minor bits I’ve been able to mostly do it.

The big issue I’m struggling with is replicating the section in the aside.

Because the <s-stack> has no wrap=”false” equivalent I’m forced to use <s-grid> to ensure things stay on a singular line. This itself introduces issues itself however the main thing I’m struggling with is having no equivalent of breakWord meaning a long ass discount code just does the above. Because of the unset: all within the components they naturally won’t inherit anything so I can’t do anything except create my own text that will break but this naturally isn’t in sync with any <s-text> changes you make going forward.

In addition, truncate would also be a lovely add!

If you use <s-paragraph> does it wrap?

Unfortunately not. It’s because it’s just a hyper long word as it’s a discount code

1 Like

Just to add @Anthony_Frehner I have found a way to “fix” it but I’d rather not share publicly on the forum as I wouldn’t want to encourage it. Happy to share it through a private means if there are any