forked from extern/easydiffusion
Move the remove button to the left side of the lora, to increase the space for the model name
This commit is contained in:
parent
5bd98d4aa0
commit
14c1d17632
@ -1684,7 +1684,17 @@ body.wait-pause {
|
||||
}
|
||||
|
||||
.model_entry .model_name {
|
||||
width: 65%;
|
||||
width: 73%;
|
||||
}
|
||||
|
||||
.model_entry {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.model_entry .remove_model_btn {
|
||||
position: absolute;
|
||||
left: -23pt;
|
||||
top: 4pt;
|
||||
}
|
||||
|
||||
.diffusers-disabled-on-startup .diffusers-restart-needed {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user