[GH-ISSUE #4486] [GUI] About ▸ Model settings: every parameter field squeezed to ~30 px (label column takes the full card width) #2010

Closed
opened 2026-11-04 01:55:57 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @2petabyte on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4486

Bug Description

In the web interface under About ▸ Model settings (the run-config parameter card from #564), every parameter control is squeezed to ~30 px wide — number inputs, the model-names text input, and all selects show essentially nothing (a select is just the arrow; a number input can't show even 3 digits). Worse, once you focus a field the text cursor is not visible and whatever you type is invisible — the caret and the entered value sit in the zero-width content box, so there is no way to see what is entered or which option a select holds. The label column takes the entire card width. Reproduced identically in Edge, Brave and Firefox (all current stable) on Windows — Firefox being a different engine confirms the cause is the page's CSS, not a browser bug.

Steps to Reproduce

  1. Start Strata (run config with an API key; the Model settings card only renders once GET /config succeeds — enter the key on About ▸ Settings first).
  2. Open the web page → About → scroll to the Model settings card.
  3. Look at any row, e.g. "Default temperature…": the input beside the label is a ~30 px sliver.
  4. Resize the browser window — the card is capped at max-width: 860px and the input stays a sliver at every width.

Expected Behavior

Label column leaves room for the value control; .cfg-form .st-input { width: 100%; max-width: 360px } should actually resolve to a usable width (up to 360 px).

Actual Behavior

DevTools shows the grid's resolved columns are 754px 0px (viewport 1264 px). The controls render at 30 px = 14+14 px padding + 3 px borders, with zero content width.

Root cause

.cfg-form {
  display: grid;
  grid-template-columns: minmax(180px, max-content) minmax(0px, 1fr);
  gap: var(--st-s-3) var(--st-s-4);
}
.cfg-form .st-input { height: 38px; width: 100%; max-width: 360px; }

The first column is minmax(180px, max-content), and every label is a full sentence ("Default temperature for requests that send none (0 = greedy; …)"), so the label column grows to its max-content width (measured: 754 px inside the 770 px form) and the value column (minmax(0px, 1fr)) collapses to 0 px. width: 100% on the input then resolves against a 0 px track. white-space is normal, but in a max-content track the label sizes to one line's full length, so the row never balances.

Fix is one line — let the label column be a fraction and cap the input track instead, e.g.:

.cfg-form { grid-template-columns: minmax(180px, 1fr) minmax(160px, 360px); }

(or keep two columns but give the label a max-width / min(…, 48ch); the key is that no track is max-content with long sentence labels). Same layout likely needs a check at narrow widths — the two-column grid probably wants to collapse to stacked rows below ~700 px.

Environment

  • OS: Windows 10
  • Strata terminal 0.1.46.1, engine v0.1.46, web page served on :8080
  • Reproduced in Microsoft Edge, Brave and Firefox (current stable; Firefox rules out a Chromium-only quirk)
  • Model run config: nvfp4-128k.json (any config with api_key set reproduces it — the card renders after auth)
Originally created by @2petabyte on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4486 ## Bug Description In the web interface under **About ▸ Model settings** (the run-config parameter card from #564), every parameter control is squeezed to **~30 px wide** — number inputs, the model-names text input, and all selects show essentially nothing (a select is just the arrow; a number input can't show even 3 digits). Worse, once you focus a field **the text cursor is not visible and whatever you type is invisible** — the caret and the entered value sit in the zero-width content box, so there is no way to see what is entered or which option a select holds. The label column takes the entire card width. Reproduced identically in Edge, Brave and Firefox (all current stable) on Windows — Firefox being a different engine confirms the cause is the page's CSS, not a browser bug. ## Steps to Reproduce 1. Start Strata (run config with an API key; the Model settings card only renders once `GET /config` succeeds — enter the key on About ▸ Settings first). 2. Open the web page → **About** → scroll to the **Model settings** card. 3. Look at any row, e.g. "Default temperature…": the input beside the label is a ~30 px sliver. 4. Resize the browser window — the card is capped at `max-width: 860px` and the input stays a sliver at every width. ## Expected Behavior Label column leaves room for the value control; `.cfg-form .st-input { width: 100%; max-width: 360px }` should actually resolve to a usable width (up to 360 px). ## Actual Behavior DevTools shows the grid's resolved columns are **`754px 0px`** (viewport 1264 px). The controls render at 30 px = 14+14 px padding + 3 px borders, with zero content width. ## Root cause ```css .cfg-form { display: grid; grid-template-columns: minmax(180px, max-content) minmax(0px, 1fr); gap: var(--st-s-3) var(--st-s-4); } .cfg-form .st-input { height: 38px; width: 100%; max-width: 360px; } ``` The first column is `minmax(180px, max-content)`, and every label is a full sentence ("Default temperature for requests that send none (0 = greedy; …)"), so the label column grows to its max-content width (measured: **754 px** inside the 770 px form) and the value column (`minmax(0px, 1fr)`) collapses to **0 px**. `width: 100%` on the input then resolves against a 0 px track. `white-space` is `normal`, but in a `max-content` track the label sizes to one line's full length, so the row never balances. Fix is one line — let the label column be a fraction and cap the input track instead, e.g.: ```css .cfg-form { grid-template-columns: minmax(180px, 1fr) minmax(160px, 360px); } ``` (or keep two columns but give the label a `max-width` / `min(…, 48ch)`; the key is that no track is `max-content` with long sentence labels). Same layout likely needs a check at narrow widths — the two-column grid probably wants to collapse to stacked rows below ~700 px. ## Environment - OS: Windows 10 - Strata terminal 0.1.46.1, engine v0.1.46, web page served on :8080 - Reproduced in Microsoft Edge, Brave and Firefox (current stable; Firefox rules out a Chromium-only quirk) - Model run config: `nvfp4-128k.json` (any config with `api_key` set reproduces it — the card renders after auth)
Author
Owner

@2petabyte commented on GitHub (Oct 28, 2026):

Image
<!-- gh-comment-id:6473000422 --> @2petabyte commented on GitHub (Oct 28, 2026): <img width="1264" height="569" alt="Image" src="https://github.com/user-attachments/assets/bb899297-da30-4408-9b3e-825952357877" />
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6660503283 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2010
No description provided.