From 962085baa17a622c83320e27acde0ac06219da39 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 23 Apr 2009 09:56:14 +0000 Subject: - Fix text wrapping in HTML editor after switching from plain text to HTML (#1485521) --- skins/default/editor_content.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'skins') 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) */ +} -- cgit v1.2.3