Hmm, theres a few ways you could solve this issue. One way I solved this was to change code { white-space: nowrap; } to
code { white-space: pre-wrap; } which is the more quicker way.

Other ways, I can think of off the top of my head is adding an overflow-x: auto to .post-content.