From 9b25359a45e5498ac09b51b96919d515c1cd5d15 Mon Sep 17 00:00:00 2001 From: Lukasz Anwajler Date: Sun, 5 Sep 2010 18:55:44 -0500 Subject: [PATCH] Ticket #749 - word wrapping for xml error --- redakcja/static/css/html.css | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 = */ /* ============= */ -- 2.20.1