summaryrefslogtreecommitdiff
path: root/skins/classic/functions.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-10-27 17:51:28 +0100
committerAleksander Machniak <alec@alec.pl>2014-10-27 17:51:28 +0100
commit421ed1e5458ef8b3947ca4cce45eae7804b41f74 (patch)
tree517f8fb3239c87992b017d946cca5b190a32fe4a /skins/classic/functions.js
parent9aa55d5a50bd4c219f409dcd1c42c373c7dcfdb8 (diff)
Fix compose body area size, so scrollbars aren't truncated, unify padding
Diffstat (limited to 'skins/classic/functions.js')
-rw-r--r--skins/classic/functions.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/skins/classic/functions.js b/skins/classic/functions.js
index 2bf1538c4..aaa4f7288 100644
--- a/skins/classic/functions.js
+++ b/skins/classic/functions.js
@@ -547,12 +547,13 @@ init_compose_form: function()
resize_compose_body: function()
{
var div = $('#compose-div .boxlistcontent'),
- w = div.width() - 2, h = div.height(),
+ w = div.width() - 6,
+ h = div.height() - 2,
x = bw.ie || bw.opera ? 4 : 0;
- $('#compose-body_ifr').width(w+3).height(h-2 - $('div.mce-toolbar').height());
+ $('#compose-body_ifr').width(w + 6).height(h - 1 - $('div.mce-toolbar').height());
$('#compose-body').width(w-x).height(h);
- $('#googie_edit_layer').height(h);
+ $('#googie_edit_layer').width(w).height(h);
},
resize_compose_body_ev: function()