diff options
author | John McLear <john@mclear.co.uk> | 2014-11-06 15:12:40 +0000 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2014-11-06 15:12:40 +0000 |
commit | 96d6e7c1b7df59e96c394608a343cb698c848576 (patch) | |
tree | 22b3f86d2dc54a7f8f3e2f27206afa475b79700b /src/static | |
parent | 9170effb27dee076ac7401a34f0e857be50330eb (diff) | |
download | etherpad-lite-96d6e7c1b7df59e96c394608a343cb698c848576.zip |
cleaner reflow
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/js/pad.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/static/js/pad.js b/src/static/js/pad.js index 5292e75d..6a3a2e0e 100644 --- a/src/static/js/pad.js +++ b/src/static/js/pad.js @@ -379,9 +379,10 @@ function handshake() } var redrawEditbar = function(){ - var height = $('.menu_left').height() + 4 + "px"; - $('#editbar').css("height", height); - $('#editorcontainer').css("top", height); + var editbarHeight = $('.menu_left').height() + 2 + "px"; + var containerTop = $('.menu_left').height() + 5 + "px"; + $('#editbar').css("height", editbarHeight); + $('#editorcontainer').css("top", containerTop); } $.extend($.gritter.options, { |