Browse Source

Put drag icon back

pull/404/head
missionfloyd 2 years ago
parent
commit
3536a7c8d1
  1. 1
      web/scripts/ui.js
  2. 2
      web/style.css

1
web/scripts/ui.js

@ -415,6 +415,7 @@ export class ComfyUI {
this.menuContainer = $el("div.comfy-menu", { parent: document.body }, [
$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() }),
]),

2
web/style.css

@ -102,7 +102,7 @@ body {
background-color: #353535;
font-family: sans-serif;
padding: 10px;
border-radius: 8px;
border-radius: 0 8px 8px 8px;
box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
}

Loading…
Cancel
Save