From 740d62005ec1a951743a18ce904f246e45855d80 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Mon, 19 Oct 2015 19:39:45 +0200 Subject: [PATCH] small CSS improvement, partially resolves #48 --- css/zerobin.css | 4 ++++ js/zerobin.js | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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);