The exported html from Org Mode contains a style for element pre.src, overflow: visible. This causes code elements with reasonably long lines to extend out of the box boundaries, causing a horizontal scroll of the document. Changing overflow: visible to overflow: auto should solve this, making the pre element scrollable instead and keeping the code from leaking into the page and causing a horizontal scroll on the document.