Forum How do I...?

Avoiding line break in code between -- and option name

cayhorstmann
Hi, I am running into an unhappy line break in <code>--add-modules</code>. The line is broken after the --. I'd like to keep the text together. I tried hyphens: manual but it made no difference. Any suggestions?

Thanks,

Cay
mikeday
Can you apply "white-space: nowrap"?
mikeday
Actually "hyphens: none" may be sufficient.
cayhorstmann
Thanks, hyphens: none seems to work. FWIW, I tried a bunch of things that were suggested in the interesting thread https://github.com/w3c/csswg-drafts/issues/3434, and they didn't work. I didn't realize that line breaking can be so complicated.