small CSS improvement, partially resolves #48

This commit is contained in:
El RIDO 2015-10-19 19:39:45 +02:00
parent 40019624fd
commit 740d62005e
2 changed files with 4 additions and 1 deletions

View File

@ -394,6 +394,10 @@ img.vizhash {
font-size: 1.2em; font-size: 1.2em;
} }
#prettyprint.prettyprinted {
overflow: auto;
}
#cleartext { #cleartext {
padding: 10px; padding: 10px;
} }

View File

@ -578,7 +578,6 @@ $(function() {
break; break;
case 'syntaxhighlighting': case 'syntaxhighlighting':
if (typeof prettyPrint == 'function') prettyPrint(); if (typeof prettyPrint == 'function') prettyPrint();
this.prettyMessage.css('overflow', 'auto');
default: default:
// Convert URLs to clickable links. // Convert URLs to clickable links.
helper.urls2links(this.clearText); helper.urls2links(this.clearText);