Hi! Not sure if it’s a bug but text in buttons doesn’t go back to the next line on smaller screens
I haven’t added any fancy settings, just styled the font in the theme editor.
Am I missing something?
Thanks!
The no-wrap is caused by the default white-space: nowrap setting on .bricks-button. I am not sure for what reason this feature is there but will consult with Thomas.
In the meantime, you can simply assign the following custom CSS to your button:
root {
white-space: normal;
line-height: 1.4; /* increase or decrease the line-height to your needs */
}
Edit: We’re going to remove the default white-space setting in 1.4