diff --git a/css/zerobin.css b/css/zerobin.css index f4be066..b8d11f1 100644 --- a/css/zerobin.css +++ b/css/zerobin.css @@ -394,6 +394,10 @@ img.vizhash { font-size: 1.2em; } +#prettyprint.prettyprinted { + overflow: auto; +} + #cleartext { padding: 10px; } diff --git a/js/zerobin.js b/js/zerobin.js index bfe7ccc..dcdee96 100644 --- a/js/zerobin.js +++ b/js/zerobin.js @@ -578,7 +578,6 @@ $(function() { break; case 'syntaxhighlighting': if (typeof prettyPrint == 'function') prettyPrint(); - this.prettyMessage.css('overflow', 'auto'); default: // Convert URLs to clickable links. helper.urls2links(this.clearText);