mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4486] [GUI] About ▸ Model settings: every parameter field squeezed to ~30 px (label column takes the full card width) #2010
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2010
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
GET /configsucceeds — enter the key on About ▸ Settings first).max-width: 860pxand 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
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-spaceisnormal, but in amax-contenttrack 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.:
(or keep two columns but give the label a
max-width/min(…, 48ch); the key is that no track ismax-contentwith 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
nvfp4-128k.json(any config withapi_keyset reproduces it — the card renders after auth)@2petabyte commented on GitHub (Oct 28, 2026):
@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:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.