From fb2c365d8fdaa6941b61edac26df2f3550822e6e Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 15 Nov 2009 22:55:09 -0700 Subject: Fix outstanding issues in the organize dialog. Tighten up the layout a bit so that more microthumbs will display. --- modules/organize/js/organize.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/organize/js') diff --git a/modules/organize/js/organize.js b/modules/organize/js/organize.js index e8e09acd..a7fe1ad2 100644 --- a/modules/organize/js/organize.js +++ b/modules/organize/js/organize.js @@ -122,7 +122,7 @@ mouse_move_handler: function(event) { if ($(".g-drag-helper").length) { - $(".g-organize-microthumb-grid-cell").css({borderStyle: "hidden", margin: "4px"}); + $(".g-organize-microthumb-grid-cell").css({borderStyle: "hidden", margin: "6px"}); $(".currentDropTarget").removeClass("currentDropTarget"); var borderStyle = event.pageX < $(this).offset().left + $(this).width() / 2 ? {borderLeftStyle: "solid", marginLeft: "2px"} : {borderRightStyle: "solid", marginRight: "2px"}; @@ -141,8 +141,8 @@ $("#g-dialog").dialog("option", "zIndex", 70); $("#g-dialog").bind("dialogopen", function(event, ui) { $("#g-organize").height($("#g-dialog").innerHeight() - 20); - $("#g-organize-microthumb-panel").height($("#g-dialog").innerHeight() - 90); - $("#g-organize-tree-container").height($("#g-dialog").innerHeight() - 59); + $("#g-organize-microthumb-grid").height($("#g-dialog").innerHeight() - 91); + $("#g-organize-tree-container").height($("#g-dialog").innerHeight() - 60); }); $("#g-dialog").bind("dialogclose", function(event, ui) { -- cgit v1.2.3