diff --git a/src/css/frames-list.css b/src/css/frames-list.css index 30750e9e..7de71faa 100644 --- a/src/css/frames-list.css +++ b/src/css/frames-list.css @@ -50,7 +50,7 @@ .preview-list { list-style-type: none; - padding-right: 7px; + padding-right: 9px; } .add-frame-action { @@ -157,13 +157,13 @@ } .preview-tile.selected:after { - content: " "; + content: ""; position: absolute; top: 38px; - right: -15px; + right: -9px; border: transparent 4px solid; border-left-color: gold; - border-width: 6px; + border-width: 6px 0 6px 6px; border-style: solid; } @@ -174,7 +174,5 @@ .preview-tile-drop-proxy { border: 3px dashed gold; - height: 90px; - border-radius: 9px; background-color: rgba(255, 215,0, 0.2); } diff --git a/src/js/controller/FramesListController.js b/src/js/controller/FramesListController.js index 474845bc..14706d38 100644 --- a/src/js/controller/FramesListController.js +++ b/src/js/controller/FramesListController.js @@ -124,9 +124,11 @@ ns.FramesListController.prototype.initDragndropBehavior_ = function () { $('#preview-list').sortable({ - placeholder: 'preview-tile-drop-proxy', + placeholder: 'preview-tile preview-tile-drop-proxy', update: $.proxy(this.onUpdate_, this), - items: '.preview-tile' + items: '.preview-tile', + axis: 'y', + tolerance: 'pointer' }); $('#preview-list').disableSelection(); };