From 88b490bfb3a0ce7f0478604c440957829e2bfcd4 Mon Sep 17 00:00:00 2001 From: Dariusz L Date: Sun, 26 Apr 2026 03:51:07 +0200 Subject: [PATCH] Refine options layout and action buttons Group the `Options` tab into separate CivitAI and HuggingFace sections for a cleaner vertical layout. Also rename the save action to `Save` and apply the shared footer button styling for visual consistency. --- web/linker.js | 154 +++++++++++++++++++++++++++++++------------------- 1 file changed, 95 insertions(+), 59 deletions(-) diff --git a/web/linker.js b/web/linker.js index d4f9ede..605088d 100644 --- a/web/linker.js +++ b/web/linker.js @@ -2757,6 +2757,30 @@ class LinkerManagerDialog extends ComfyDialog { display: grid; gap: 14px; } + .ml-options-section { + display: grid; + gap: 14px; + padding: 14px; + border: 1px solid rgba(255,255,255,0.08); + border-radius: 14px; + background: rgba(255,255,255,0.02); + } + .ml-options-section-title { + margin: 0; + font-size: 13px; + font-weight: 700; + color: var(--ml-text); + } + .ml-options-section-subtitle { + margin: -6px 0 0 0; + font-size: 12px; + color: var(--ml-text-muted); + line-height: 1.45; + } + .ml-options-stack { + display: grid; + gap: 14px; + } .ml-options-field { display: flex; flex-direction: column; @@ -3673,73 +3697,85 @@ class LinkerManagerDialog extends ComfyDialog {

API Tokens

-

Stored locally in your browser. API keys are used for downloads. Session token can improve CivitAI web search results, including NSFW items visible to your logged-in account. You can also choose how many CivitAI search results should be inspected before the best match is picked.

+

Stored locally in your browser. API keys are used for downloads. Session token can improve CivitAI web search results, including NSFW items visible to your logged-in account.

-
- -
- - -
-
Used for direct CivitAI downloads that otherwise return HTTP 401 or 403.
-
-
- -
- - -
-
Used only for CivitAI web search (civitai.red) to include results available to your logged-in session, including NSFW. Keep it private.
-