ed-300 font-medium rounded-lg text-xs px-3 py-1 me-2 mb-1 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900";
    button.appendChild(document.createTextNode("-"));
    button.addEventListener("click", () => openRemoveTarget(crateName, currentTargets, targetInfo));
    const targetEl = document.createElement("span");
    targetEl.className = "ml-4 font-normal text-gray-700 dark:text-gray-400";
    targetEl.appendChild(document.createTextNode(targetInfo.target));
    const useNativeEl = document.c