Private
Public Access
1
0

demo of drag/drop and JS to capture the new order

This commit is contained in:
Sander Roosendaal
2022-04-05 12:07:42 +02:00
parent 61884d9a00
commit 5ba43564f8
6 changed files with 153 additions and 2 deletions

View File

@@ -322,6 +322,25 @@ th.rotate > div > span {
margin: 2px;
}
.stepcontainer {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 10px;
}
.trainingstep {
border: 3px solid #666;
background-color: #ddd;
border-radius: .5em;
padding: 10px;
cursor: move;
}
.trainingstep.over {
border: 3px dotted #666;
}
.divlines {
display: block;
overflow-x: hidden;