Browse Source

Fix the cursor used while dragging a list

Maxime Quandalle 10 years ago
parent
commit
cc5e9002d9
2 changed files with 6 additions and 3 deletions
  1. 2 2
      client/components/boards/boardBody.styl
  2. 4 1
      client/components/lists/list.styl

+ 2 - 2
client/components/boards/boardBody.styl

@@ -38,8 +38,8 @@ position()
     align-items: flex-start
     align-items: flex-start
     display: flex
     display: flex
     flex-direction: row
     flex-direction: row
-    margin: 0 10px 10px
-    padding: 0 25px 5px 0
+    margin: 0 0 10px
+    padding: 0 40px 5px 0
     overflow-x: auto
     overflow-x: auto
     overflow-y: hidden
     overflow-y: hidden
     position: cover
     position: cover

+ 4 - 1
client/components/lists/list.styl

@@ -21,10 +21,13 @@
     border-left: none
     border-left: none
 
 
   &.ui-sortable-helper
   &.ui-sortable-helper
-    cursor: grabbing
     box-shadow: -2px 2px 8px rgba(0, 0, 0, .3),
     box-shadow: -2px 2px 8px rgba(0, 0, 0, .3),
                 0 0 1px rgba(0, 0, 0, .5)
                 0 0 1px rgba(0, 0, 0, .5)
     transform: rotate(4deg)
     transform: rotate(4deg)
+    cursor: grabbing
+
+    .list-header.ui-sortable-handle
+      cursor: grabbing
 
 
   &.placeholder
   &.placeholder
     background-color: rgba(0, 0, 0, .2)
     background-color: rgba(0, 0, 0, .2)