summaryrefslogtreecommitdiff
path: root/skins/larry
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-05-31 13:30:23 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-05-31 13:31:20 +0200
commita2027101df54453a162b6a609bc85e5488ed7284 (patch)
treec81e7f4963cb5012a9427eb5b94bb61c0b480c17 /skins/larry
parentf38ff4a19e689d4e7e10b5bcbf3c9348c6f3a3b4 (diff)
Fix window.resize handler on IE8 and Opera (#1488453)
Diffstat (limited to 'skins/larry')
-rw-r--r--skins/larry/mail.css5
-rw-r--r--skins/larry/ui.js8
2 files changed, 5 insertions, 8 deletions
diff --git a/skins/larry/mail.css b/skins/larry/mail.css
index 18b058a1b..ab9dd8ffd 100644
--- a/skins/larry/mail.css
+++ b/skins/larry/mail.css
@@ -803,7 +803,8 @@ div.hide-headers {
#messagecontent .leftcol,
#messagepreview .leftcol {
- margin-right: 250px;
+ margin-right: 252px;
+ overflow-x: auto;
}
#messagecontent .rightcol,
@@ -849,7 +850,7 @@ div.hide-headers {
div.message-part,
div.message-htmlpart {
- padding: 10px 2px;
+ padding: 0 2px 10px 2px;
border-top: 2px solid #f0f0f0;
}
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index b6383a8a3..b79391891 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -209,12 +209,8 @@ function rcube_mail_ui()
})
.contents().mouseup(body_mouseup);
- $(window).resize(function(e) {
- // check target due to bugs in jquery
- // http://bugs.jqueryui.com/ticket/7514
- // http://bugs.jquery.com/ticket/9841
- if (e.target == window) resize();
- });
+ // don't use $(window).resize() due to some unwanted side-effects
+ window.onresize = resize;
}
/**