summaryrefslogtreecommitdiff
path: root/skins/default/editor_content.css
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-04-23 09:56:14 +0000
committeralecpl <alec@alec.pl>2009-04-23 09:56:14 +0000
commit962085baa17a622c83320e27acde0ac06219da39 (patch)
treed2abd4987c0f346f6d23b1b32b5e7ef605850af1 /skins/default/editor_content.css
parenteaacbec63100fa8094189273e5c8e56571b0f976 (diff)
- Fix text wrapping in HTML editor after switching from plain text to HTML (#1485521)
Diffstat (limited to 'skins/default/editor_content.css')
-rw-r--r--skins/default/editor_content.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/skins/default/editor_content.css b/skins/default/editor_content.css
index 31a0a592e..099b4248a 100644
--- a/skins/default/editor_content.css
+++ b/skins/default/editor_content.css
@@ -13,3 +13,13 @@ body {
margin-top: 2px;
}
+pre
+{
+ margin: 0;
+ padding: 0;
+ white-space: -o-pre-wrap !important;
+ white-space: -moz-pre-wrap !important;
+ white-space: pre-wrap !important;
+ white-space: pre;
+ word-wrap: break-word; /* IE (and Safari) */
+}