diff --git a/scripts/config.js b/scripts/config.js index c614a1c..7d3b806 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -760,10 +760,12 @@ function addBootLine (container, data, before = null) { const item = document.createElement("draggable-item"); item.data = data; item.innerHTML = ` - - -

${data.id}

-

${data.detail}

+
+ + +

${data.id}

+

${data.detail}

+
`; item.draggable = true; item.classList.add("drop-target"); diff --git a/scripts/draggable.js b/scripts/draggable.js index 96f51eb..f34f26f 100644 --- a/scripts/draggable.js +++ b/scripts/draggable.js @@ -64,12 +64,6 @@ class DraggableItem extends HTMLElement { // for whatever reason, only grid layout seems to respect the parent's content bounds this.shadowRoot.innerHTML = `