Syntaxhighlighter Font-size Fix on iOS Devices (aka your iPhone or iPad)

While fiddling with the mobile version of this site, one thing that always bugged me was the gigantic size of the SyntaxHighlighter-based code snippets on iOS devices. After some trial and error, it turns out the fix is pretty simple. In your shThemeDefault.css, find your .syntaxhighlighter selector and add the following declaration:

-webkit-text-size-adjust: 100%;

That’s it. Once you’ve done this, your code snippets on your iOS devices will look like they are supposed to. Why that isn’t there by default, I am not sure.

Kirupa :stuck_out_tongue: