Permalink
Browse files

Larger drag handle for sorting thumbnails

- Was hard to discover functionality when just the title was the handle

Closes #54
  • Loading branch information...
gerrit committed Dec 9, 2011
1 parent 51f0447 commit d7c6a90abf3df634dad0cf5104bf3b3fc1dee160
Showing with 2 additions and 4 deletions.
  1. +1 −1 public/javascripts/admin/assets.js
  2. +1 −3 public/stylesheets/sass/admin/assets.sass
@@ -168,7 +168,7 @@ Asset.MakeSortable = function (element) {
var sorter = Sortable.create(element, {
overlap: 'horizontal',
constraint: false,
- handle: 'title',
+ handle: 'back',
onChange: function (e) {
Asset.SetPositions();
Asset.Notify('Assets reordered. Save page to commit changes.');
@@ -171,10 +171,8 @@ p.asset
color: #d99
ul.sortable
li.asset
- div.title
+ div.back
cursor: move
- &:hover
- font-weight: bold
#assets_table.assets
position: relative

0 comments on commit d7c6a90

Please sign in to comment.