Adds in -webkit-overflow-scrolling: touch to the code example containers (for smooth scrolling on iOS).
This PR also improves the legibility of lengthy overflowing lines of code on smaller screen sizes by indirectly restricting overflowing behavior to just overflow-y without actually setting overflow-x to hidden via white-space: pre-wrap (which behaves similarly to white-space: pre, only it also breaks text to new lines as necessary in order to fill the content's container).
Adds in -webkit-overflow-scrolling: touch to the code example containers (for smooth scrolling on iOS).
This PR also improves the legibility of lengthy overflowing lines of code on smaller screen sizes by indirectly restricting overflowing behavior to just overflow-y without actually setting overflow-x to hidden via
white-space: pre-wrap
(which behaves similarly towhite-space: pre
, only it also breaks text to new lines as necessary in order to fill the content's container).