Hello,
How can I prevent the line break just after the option, when the line is too long for a radio button ?
Thanks,
Philippe
Hello,
How can I prevent the line break just after the option, when the line is too long for a radio button ?
Thanks,
Philippe
Hi Philippe
Easiest way would be to just set the radio element to display: flex and align it at the baseline so the input aligns with the first line of your text. Optionally add a gap if you like, kinda like so:
In case this isn’t a one off, I’d recommend adding a class to your radio elements and then applying the styles on that class.