fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
254eb3e
)
Ticket #749 - word wrapping for xml error
author
Lukasz Anwajler
<lukasz@anwajler.com>
Sun, 5 Sep 2010 23:55:44 +0000
(18:55 -0500)
committer
Lukasz Anwajler
<lukasz@anwajler.com>
Sun, 5 Sep 2010 23:55:44 +0000
(18:55 -0500)
redakcja/static/css/html.css
patch
|
blob
|
history
diff --git
a/redakcja/static/css/html.css
b/redakcja/static/css/html.css
index
83fab18
..
6f2552b
100644
(file)
--- 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 = */
/* ============= */