tree: dragging: add placeholder and display a thin ghost at new index

This commit is contained in:
bordun 2021-04-26 19:52:51 +02:00
parent 8568c72a8b
commit 51791ea6d8
2 changed files with 34 additions and 3 deletions

View file

@ -35,10 +35,32 @@
position: relative;user-select: none;
> ol {
display: none;
// display: none;
display: block;
height: 0rem;
> li {
display: none;
}
}
&.expanded > ol {
display: block;
// min-height: 8rem;
opacity: 1;
height: auto;
> li {
display: list-item;
}
}
&.sortable-ghost {
height: 2rem;
margin-bottom: 6rem;
margin-top: 4rem;
color: transparent;
overflow: hidden;
display: list-item!important
}
> i {