summaryrefslogtreecommitdiff
path: root/roundcubemail/skins/default/editor_content.css
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-04-23 09:56:14 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-04-23 09:56:14 +0000
commit14190c2d174d68ddcb0063817fcc21dc2fa1fc47 (patch)
treeac5e4b4f3c75cf4de8cf6cf22a95c801aa3b8fc9 /roundcubemail/skins/default/editor_content.css
parenta5f42d416edd1eefe23e9738d4a8a0cafa834100 (diff)
- Fix text wrapping in HTML editor after switching from plain text to HTML (#1485521)
git-svn-id: https://svn.roundcube.net/trunk@2417 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/skins/default/editor_content.css')
-rw-r--r--roundcubemail/skins/default/editor_content.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/roundcubemail/skins/default/editor_content.css b/roundcubemail/skins/default/editor_content.css
index 31a0a592e..099b4248a 100644
--- a/roundcubemail/skins/default/editor_content.css
+++ b/roundcubemail/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) */
+}