mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 02:15:17 +00:00
Merge branch 'menu-drag' of https://github.com/missionfloyd/ComfyUI
This commit is contained in:
commit
fb73d008bf
@ -431,7 +431,7 @@ export class ComfyUI {
|
||||
});
|
||||
|
||||
this.menuContainer = $el("div.comfy-menu", { parent: document.body }, [
|
||||
$el("div", { style: { overflow: "hidden", position: "relative", width: "100%" } }, [
|
||||
$el("div.drag-handle", { style: { overflow: "hidden", position: "relative", width: "100%", cursor: "default" } }, [
|
||||
$el("span.drag-handle"),
|
||||
$el("span", { $: (q) => (this.queueSize = q) }),
|
||||
$el("button.comfy-settings-btn", { textContent: "⚙️", onclick: () => this.settings.show() }),
|
||||
|
@ -72,13 +72,10 @@ body {
|
||||
}
|
||||
|
||||
.comfy-menu {
|
||||
width: 200px;
|
||||
font-size: 15px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0%;
|
||||
background-color: white;
|
||||
color: #000;
|
||||
text-align: center;
|
||||
z-index: 100;
|
||||
width: 170px;
|
||||
|
Loading…
Reference in New Issue
Block a user