From 5a3f5852aa2fe5704b4ae3a066fd64044fbde970 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 5 Apr 2009 09:48:07 +0000 Subject: - Fix compose window doesn't fit 1024x768 window (#1485396) --- CHANGELOG | 1 + program/lib/html2text.php | 6 +++--- skins/default/mail.css | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index e7128e841..f4774c57d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG RoundCube Webmail =========================== +- Fix compose window doesn't fit 1024x768 window (#1485396) - Fix service not available error when pressing back from compose dialog (#1485552) - Fix using mail() on Windows (#1485779) - Fix word wrapping in message-part's
s for printing (#1485787)
diff --git a/program/lib/html2text.php b/program/lib/html2text.php
index e78ea10a9..dbf0943d5 100644
--- a/program/lib/html2text.php
+++ b/program/lib/html2text.php
@@ -522,9 +522,9 @@ class html2text
             $this->_link_count++;
             $this->_link_list .= "[" . $this->_link_count . "] $link\n";
             $additional = ' [' . $this->_link_count . ']';
-		} elseif ( substr($link, 0, 11) == 'javascript:' ) {
-			// Don't count the link; ignore it
-			$additional = '';
+	} elseif ( substr($link, 0, 11) == 'javascript:' ) {
+		// Don't count the link; ignore it
+		$additional = '';
 		// what about href="#anchor" ?
         } else {
             $this->_link_count++;
diff --git a/skins/default/mail.css b/skins/default/mail.css
index 79ae01476..5a4e57bfe 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -919,12 +919,12 @@ div.message-htmlpart div.rcmBody
 {
   position: absolute;
   top: 90px;
-  left: 200px;
+  left: 190px;
   right: 25px;
   bottom: 30px;
   margin: 0px;
   /* css hack for IE */
-  width: expression((parseInt(document.documentElement.clientWidth)-220)+'px');
+  width: expression((parseInt(document.documentElement.clientWidth)-210)+'px');
   height: expression((parseInt(document.documentElement.clientHeight)-120)+'px');
 }
 
-- 
cgit v1.2.3