tree: dragging: add placeholder and display a thin ghost at new index
This commit is contained in:
parent
8568c72a8b
commit
51791ea6d8
2 changed files with 34 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue