diff --git a/build/bundle.js b/build/bundle.js index 86748aff..d6f90bd0 100644 --- a/build/bundle.js +++ b/build/bundle.js @@ -8531,8 +8531,8 @@ var InteractiveRebaseView = BaseView.extend({ // then make it reorderable.. listHolder.sortable({ - distance: 5, - placeholder: 'ui-state-highlight' + //distance: 5, + placeholder: 'rebaseEntry transitionOpacity ui-state-highlight' }); } }); @@ -14785,8 +14785,8 @@ var InteractiveRebaseView = BaseView.extend({ // then make it reorderable.. listHolder.sortable({ - distance: 5, - placeholder: 'ui-state-highlight' + //distance: 5, + placeholder: 'rebaseEntry transitionOpacity ui-state-highlight' }); } }); diff --git a/src/js/views/rebaseView.js b/src/js/views/rebaseView.js index f4c56e25..f7248648 100644 --- a/src/js/views/rebaseView.js +++ b/src/js/views/rebaseView.js @@ -96,8 +96,8 @@ var InteractiveRebaseView = BaseView.extend({ // then make it reorderable.. listHolder.sortable({ - distance: 5, - placeholder: 'ui-state-highlight' + //distance: 5, + placeholder: 'rebaseEntry transitionOpacity ui-state-highlight' }); } }); diff --git a/src/style/main.css b/src/style/main.css index c606c25f..901514b7 100644 --- a/src/style/main.css +++ b/src/style/main.css @@ -370,6 +370,16 @@ li.rebaseEntry { padding: 5px; } +li.rebaseEntry.ui-state-highlight { + padding: 15px; + border: 1px dashed rgba(0, 0, 0, 0.5); +} + +/* wtf jquery UI sortable is barfing here on calculating the position... */ +li.rebaseEntry.ui-sortable-helper { + margin-top: -140px; +} + li.rebaseEntry a#toggleButton { cursor: pointer; }