Created by: jasonwyatt
Using white-space: nowrap
on inline code elements makes code more readable in the normal case. It keeps the snippet of code together and does not force the user to mentally concatenate it.
It could cause a problem, however. If you were to have a long string of code inside an inline code element with white-space: nowrap enabled: it could break the bounds of the containing element and make things look ugly. This could easily be resolved by using a code block with <pre>
tags surrounding it. I would argue this 'workaround' is actually a best practice anyway.
I've gone ahead and added a line to code.less
which will fix this issue.