mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 23:27:09 +00:00
Add buttons to move element order in a list
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user