Fix the cursor used while dragging a list

This commit is contained in:
Maxime Quandalle 2015-08-28 19:35:04 +02:00
parent 53018baeb2
commit cc5e9002d9
2 changed files with 6 additions and 3 deletions

View file

@ -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 margin: 0 0 10px
padding: 0 25px 5px 0 padding: 0 40px 5px 0
overflow-x: auto overflow-x: auto
overflow-y: hidden overflow-y: hidden
position: cover position: cover

View file

@ -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)