mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-09 02:28:15 +02:00
Tweaks to the styling of the models dropdown
This commit is contained in:
parent
37b47e7f05
commit
fce8b96d3b
@ -16,7 +16,7 @@
|
|||||||
.model-list ul {
|
.model-list ul {
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
padding-inline-start: 0;
|
padding-inline-start: 0;
|
||||||
margin-top: 6pt;
|
margin-top: 3pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
.model-list li {
|
.model-list li {
|
||||||
|
@ -623,13 +623,16 @@ class ModelDropdown
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const containerListItem = this.createElement(
|
if (modelTree.length > 0) {
|
||||||
'li',
|
const containerListItem = this.createElement(
|
||||||
{ id: `${this.modelFilter.id}-model-result` },
|
'li',
|
||||||
['model-result'],
|
{ id: `${this.modelFilter.id}-model-result` },
|
||||||
)
|
['model-result'],
|
||||||
containerListItem.appendChild(this.createModelNodeList(undefined, modelTree, true))
|
)
|
||||||
rootList.appendChild(containerListItem)
|
console.log(containerListItem)
|
||||||
|
containerListItem.appendChild(this.createModelNodeList(undefined, modelTree, true))
|
||||||
|
rootList.appendChild(containerListItem)
|
||||||
|
}
|
||||||
|
|
||||||
return rootList
|
return rootList
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user