From f5439335e1d18ee577e2b7c1e67f7844f9f235ac Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Tue, 1 Sep 2026 21:17:29 +0900 Subject: style: align advanced settings rows The advanced settings labels (num_keep, num_predict, top_k, ...) had variable widths, so each numeric input started at a different x position. Give the labels a fixed 150px width in the #advanced-fields rows so all inputs line up in a single column. Verified in a live DOM: after the rule applies, all 10 labels share the same width (150px) and all 10 inputs start at the same x position. Results: 73 passed, 0 failed. dist rebuilt. --- src/options/options.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/options/options.js') diff --git a/src/options/options.js b/src/options/options.js index 09d0a5f..56744c1 100644 --- a/src/options/options.js +++ b/src/options/options.js @@ -56,6 +56,7 @@ for (const field of ADVANCED_FIELDS) { const label = document.createElement('label'); label.setAttribute('for', `adv-${field.id}`); label.textContent = field.label; + label.className = 'adv-label'; const input = document.createElement('input'); input.type = 'number'; -- cgit v1.2.3