diff --git a/core/src/main/resources/lib/form/repeatableProperty.jelly b/core/src/main/resources/lib/form/repeatableProperty.jelly index e94c0b4c983d..43be78857323 100644 --- a/core/src/main/resources/lib/form/repeatableProperty.jelly +++ b/core/src/main/resources/lib/form/repeatableProperty.jelly @@ -77,7 +77,7 @@ THE SOFTWARE. -
+
diff --git a/war/src/main/js/sortable-drag-drop.js b/war/src/main/js/sortable-drag-drop.js index ff7a0fff4348..650406ef2c21 100644 --- a/war/src/main/js/sortable-drag-drop.js +++ b/war/src/main/js/sortable-drag-drop.js @@ -26,14 +26,14 @@ function registerSortableDragDrop(e) { forceFallback: true, // Do not use html5 drag & drop behaviour because it does not work with autoscroll scroll: true, bubbleScroll: true, - onChoose: function (event) { - const draggableDiv = event.item; - const height = draggableDiv.clientHeight; - draggableDiv.style.height = `${height}px`; - }, - onUnchoose: function (event) { - event.item.style.removeProperty("height"); - }, + // onChoose: function (event) { + // const draggableDiv = event.item; + // const height = draggableDiv.clientHeight; + // draggableDiv.style.height = `${height}px`; + // }, + // onUnchoose: function (event) { + // event.item.style.removeProperty("height"); + // }, }); } diff --git a/war/src/main/scss/form/_reorderable-list.scss b/war/src/main/scss/form/_reorderable-list.scss index 429c3af3b794..880cf988ca5a 100644 --- a/war/src/main/scss/form/_reorderable-list.scss +++ b/war/src/main/scss/form/_reorderable-list.scss @@ -147,13 +147,13 @@ div.to-be-removed { .help-sibling2 { display: flex; flex-direction: column; - gap: 10px; + gap: 0.5rem; } .repeated-chunk { - & > div > *:last-of-type { - margin-bottom: 0; - } + //& > div > *:last-of-type { + // margin-bottom: 0; + //} &__header { position: relative; @@ -257,7 +257,7 @@ div.to-be-removed { } .notafoodwriter { - padding: 0.5rem 1rem 1rem; + padding: 0 1rem; &:empty { display: none;