From 5a3f5852aa2fe5704b4ae3a066fd64044fbde970 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sun, 05 Apr 2009 05:48:07 -0400
Subject: [PATCH] - 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 e7128e8..f4774c5 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 <PRE>s for printing (#1485787)
diff --git a/program/lib/html2text.php b/program/lib/html2text.php
index e78ea10..dbf0943 100644
--- a/program/lib/html2text.php
+++ b/program/lib/html2text.php
@@ -522,9 +522,9 @@
$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 79ae014..5a4e57b 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -919,12 +919,12 @@
{
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');
}
--
Gitblit v1.9.1