From 421ed1e5458ef8b3947ca4cce45eae7804b41f74 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 27 Oct 2014 17:51:28 +0100 Subject: Fix compose body area size, so scrollbars aren't truncated, unify padding --- skins/classic/functions.js | 7 ++++--- skins/classic/googiespell.css | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'skins/classic') 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() diff --git a/skins/classic/googiespell.css b/skins/classic/googiespell.css index b4fab5bdb..fc6b069a1 100644 --- a/skins/classic/googiespell.css +++ b/skins/classic/googiespell.css @@ -9,7 +9,7 @@ .googie_edit_layer { background-color: #ffffff; - padding: 0 4px; + padding: 1px 3px; font-size: 9pt; font-family: monospace; } -- cgit v1.2.3