Переглянути джерело

Fix the cursor used while dragging a list

Maxime Quandalle 10 роки тому
батько
коміт
cc5e9002d9

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

@@ -38,8 +38,8 @@ position()
     align-items: flex-start
     display: flex
     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-y: hidden
     position: cover

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

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