Move the remove button to the left side of the lora, to increase the space for the model name

This commit is contained in:
cmdr2
2023-07-16 15:46:24 +05:30
parent 5bd98d4aa0
commit 14c1d17632
2 changed files with 13 additions and 1 deletions

View File

@ -2262,6 +2262,8 @@ function addModelEntry(modelContainer, modelsList, modelType, defaultValue, stre
let entry = [modelName, modelStrength, modelElement]
let removeBtn = document.createElement("button")
removeBtn.className = "remove_model_btn"
removeBtn.setAttribute("title", "Remove model")
removeBtn.innerHTML = '<i class="fa-solid fa-minus"></i>'
if (modelsList.length === 0) {