From d262589616f26b68276b4e019f3db36d09cf39f8 Mon Sep 17 00:00:00 2001 From: Jithin Date: Sat, 18 Jul 2026 12:00:04 +0530 Subject: [PATCH] fix: unify llm config ui and require model before run --- runners/extension/popup.html | 229 ++++++++++++++++------------------- runners/extension/popup.js | 74 ++++------- 2 files changed, 130 insertions(+), 173 deletions(-) diff --git a/runners/extension/popup.html b/runners/extension/popup.html index 97e0fe8..7a118bc 100644 --- a/runners/extension/popup.html +++ b/runners/extension/popup.html @@ -427,6 +427,17 @@ margin-bottom: 6px; } + /* LLM config — one labeled field per row, consistent for every provider */ + .llm-field { + margin-bottom: 8px; + } + .llm-field:last-child { + margin-bottom: 0; + } + .llm-field > .endpoint-step-label { + margin-bottom: 6px; + } + .toggle { width: 32px; height: 18px; @@ -496,6 +507,12 @@ .api-key-wrap input[type="text"] { letter-spacing: 0; } + /* Keep the placeholder in the regular UI font — the mono/letter-spacing above + is for the typed key value, not the hint text. */ + .api-key-wrap input::placeholder { + font-family: "Google Sans", system-ui, sans-serif; + letter-spacing: 0; + } .eye-btn { position: absolute; right: 8px; @@ -2140,138 +2157,69 @@ - +
- -
- -
-
+ - -