From: Lukasz Anwajler Date: Sun, 5 Sep 2010 23:55:44 +0000 (-0500) Subject: Ticket #749 - word wrapping for xml error X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/9b25359a45e5498ac09b51b96919d515c1cd5d15?hp=--cc Ticket #749 - word wrapping for xml error --- 9b25359a45e5498ac09b51b96919d515c1cd5d15 diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index 83fab181..6f2552bd 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -107,6 +107,16 @@ font-size: 0.875em; } +.htmlview pre { + overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */ + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ /* + width: 99%; */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ +} + /* ============= */ /* = Numbering = */ /* ============= */