Hi,
Could someone help me with wrapping the text in a button, please?
The user can input a word or a sentence. That text is placed in a button. The button is large enough for several words and two or three lines.
I decided to use buttons, instead of text-objects, because of the CSS capabilities. However, using the CSS-commands 'display: wrap' or 'display: flex' and 'flex-wrap: wrap', doesn't seem to do the trick (even browsers that allow 'flex-wrap').
So if anyone could help me out, I would appreciate it.
Thanks!
***************************************
It seems I was using the wrong CSS-code. Using 'white-space:normal' does the trick.