overflow-x:auto; to <pre> tags to avoid horizontal scroll on the page.