fix(menu): don't show drag handle for not draggable menu items
This commit is contained in:
parent
64735e0c3d
commit
2fd2214a2e
@ -412,12 +412,16 @@ $vikunja-nav-selected-width: 0.4rem;
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity $transition;
|
transition: opacity $transition;
|
||||||
margin-right: .25rem;
|
margin-right: .25rem;
|
||||||
cursor: grab;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .handle {
|
&:hover .handle {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:not(.dragging-disabled) .handle {
|
||||||
|
cursor: grab;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user