fix(menu): don't show drag handle for not draggable menu items

This commit is contained in:
kolaente 2023-02-22 12:17:33 +01:00
parent 64735e0c3d
commit 2fd2214a2e
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 1 deletions

View File

@ -412,12 +412,16 @@ $vikunja-nav-selected-width: 0.4rem;
opacity: 0;
transition: opacity $transition;
margin-right: .25rem;
cursor: grab;
}
&:hover .handle {
opacity: 1;
}
}
&:not(.dragging-disabled) .handle {
cursor: grab;
}
}
}