Add buttons to move element order in a list

This commit is contained in:
Misode
2021-07-03 01:12:54 +02:00
parent 98d754b6d8
commit b43a151d17
3 changed files with 38 additions and 3 deletions

View File

@@ -118,7 +118,7 @@
background-color: var(--node-background-input);
}
.node-header > button {
.node-header button {
font-size: 18px;
padding: 0 9px;
line-height: 1.94rem;
@@ -203,6 +203,27 @@ button.remove {
border-bottom-right-radius: 6px;
}
.node-move {
display: flex;
flex-direction: column;
width: 34px;
}
button.move {
height: 50%;
border: none;
display: flex;
}
button.move + button.move {
border-top: 1px solid var(--node-border);
}
button.move:disabled {
cursor: unset;
fill: var(--node-border);
}
.node-icon {
border: none;
position: relative;