mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-20 21:37:00 +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() {
|
||||
this.element.style.display = "block";
|
||||
this.element.style.display = "flex";
|
||||
this.button.textContent = "Close";
|
||||
|
||||
await this.load();
|
||||
@ -412,7 +412,6 @@ export class ComfyUI {
|
||||
this.menuContainer = $el("div.comfy-menu", { parent: document.body }, [
|
||||
$el("div.drag-handle.comfy-menu-header", {
|
||||
style: {
|
||||
overflow: "hidden",
|
||||
position: "relative",
|
||||
width: "100%",
|
||||
cursor: "default"
|
||||
|
||||
@ -117,6 +117,7 @@ body {
|
||||
padding: 10px;
|
||||
border-radius: 0 8px 8px 8px;
|
||||
box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
|
||||
max-height: 95vh;
|
||||
}
|
||||
|
||||
.comfy-menu-header {
|
||||
@ -233,11 +234,14 @@ span.drag-handle::after {
|
||||
margin-bottom: 10px;
|
||||
border-color: var(--border-color);
|
||||
border-style: solid;
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.comfy-list-items {
|
||||
overflow-y: scroll;
|
||||
max-height: 100px;
|
||||
overflow-y: auto;
|
||||
min-height: 25px;
|
||||
background-color: var(--comfy-input-bg);
|
||||
padding: 5px;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user