summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-20 07:07:57 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-20 07:07:57 +0000
commit0d0e95611e6bd92b997ad3d4719198142118e7f5 (patch)
tree4f8a0cd0c013b5b13cccc2c4be7ae8a6ed41f369
parente6834c30604330dc76d5ba91a462e7aa642d2948 (diff)
- fix wrapping on IE
git-svn-id: https://svn.roundcube.net/trunk@1858 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/skins/default/mail.css3
-rw-r--r--roundcubemail/skins/default/print.css5
2 files changed, 5 insertions, 3 deletions
diff --git a/roundcubemail/skins/default/mail.css b/roundcubemail/skins/default/mail.css
index 9f64ea615..0c10ff717 100644
--- a/roundcubemail/skins/default/mail.css
+++ b/roundcubemail/skins/default/mail.css
@@ -782,9 +782,10 @@ div.message-part div.pre
margin: 0px;
padding: 0px;
font-family: monospace;
- white-space: pre;
white-space: -moz-pre-wrap !important;
white-space: -o-pre-wrap !important;
+ white-space: pre-wrap !important;
+ white-space: pre;
word-wrap: break-word; /* IE (and Safari) */
}
diff --git a/roundcubemail/skins/default/print.css b/roundcubemail/skins/default/print.css
index b3fdebfb4..fa9c38c7e 100644
--- a/roundcubemail/skins/default/print.css
+++ b/roundcubemail/skins/default/print.css
@@ -107,10 +107,11 @@ div.message-part div.pre
{
margin: 0;
padding: 0;
- white-space: pre;
+ font-family: monospace;
white-space: -o-pre-wrap !important;
white-space: -moz-pre-wrap !important;
- font-family: monospace;
+ white-space: pre-wrap !important;
+ white-space: pre;
word-wrap: break-word; /* IE (and Safari) */
}