mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 16:23:28 +01: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 {
|
||||
padding-right: 20px;
|
||||
padding-inline-start: 0;
|
||||
margin-top: 6pt;
|
||||
margin-top: 3pt;
|
||||
}
|
||||
|
||||
.model-list li {
|
||||
|
@ -623,13 +623,16 @@ class ModelDropdown
|
||||
)
|
||||
}
|
||||
|
||||
const containerListItem = this.createElement(
|
||||
'li',
|
||||
{ id: `${this.modelFilter.id}-model-result` },
|
||||
['model-result'],
|
||||
)
|
||||
containerListItem.appendChild(this.createModelNodeList(undefined, modelTree, true))
|
||||
rootList.appendChild(containerListItem)
|
||||
if (modelTree.length > 0) {
|
||||
const containerListItem = this.createElement(
|
||||
'li',
|
||||
{ id: `${this.modelFilter.id}-model-result` },
|
||||
['model-result'],
|
||||
)
|
||||
console.log(containerListItem)
|
||||
containerListItem.appendChild(this.createModelNodeList(undefined, modelTree, true))
|
||||
rootList.appendChild(containerListItem)
|
||||
}
|
||||
|
||||
return rootList
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user