mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-20 21:57:05 +08:00
Allow history or queue list to expand and fill screen size
This commit is contained in:
parent
a45df69570
commit
5049c14175
@ -265,7 +265,7 @@ class ComfyList {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async show() {
|
async show() {
|
||||||
this.element.style.display = "block";
|
this.element.style.display = "flex";
|
||||||
this.button.textContent = "Close";
|
this.button.textContent = "Close";
|
||||||
|
|
||||||
await this.load();
|
await this.load();
|
||||||
@ -412,7 +412,6 @@ export class ComfyUI {
|
|||||||
this.menuContainer = $el("div.comfy-menu", { parent: document.body }, [
|
this.menuContainer = $el("div.comfy-menu", { parent: document.body }, [
|
||||||
$el("div.drag-handle.comfy-menu-header", {
|
$el("div.drag-handle.comfy-menu-header", {
|
||||||
style: {
|
style: {
|
||||||
overflow: "hidden",
|
|
||||||
position: "relative",
|
position: "relative",
|
||||||
width: "100%",
|
width: "100%",
|
||||||
cursor: "default"
|
cursor: "default"
|
||||||
|
|||||||
@ -117,6 +117,7 @@ body {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 0 8px 8px 8px;
|
border-radius: 0 8px 8px 8px;
|
||||||
box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
|
box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
|
||||||
|
max-height: 95vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comfy-menu-header {
|
.comfy-menu-header {
|
||||||
@ -233,11 +234,14 @@ span.drag-handle::after {
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
border-color: var(--border-color);
|
border-color: var(--border-color);
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
|
overflow-y: auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comfy-list-items {
|
.comfy-list-items {
|
||||||
overflow-y: scroll;
|
overflow-y: auto;
|
||||||
max-height: 100px;
|
|
||||||
min-height: 25px;
|
min-height: 25px;
|
||||||
background-color: var(--comfy-input-bg);
|
background-color: var(--comfy-input-bg);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user