mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3601] [CLOSED] [GUI] fix Model settings fields overflowing their card at 1280x720 #4705
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#4705
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/3601
Author: @G0-0000
Created: 10/21/2026
Status: ❌ Closed
Base:
main← Head:fix/model-settings-columns📝 Commits (1)
e52c1a7serve/web: keep the Model settings fields inside their card📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
serve/web/app.css(+3 -3)📄 Description
Problem
At 1280x720, About -> Model settings overflows its card. The form's label column is sized
minmax(180px, max-content), so the longest config key/help text widens it without bound; the right column is then squeezed, and the inputs and selects are clipped by the card edge. The same page is fine at larger sizes where the content is narrower relative to the window.Fix
In
serve/web/app.cssonly:grid-template-columns: 75% minmax(0, 1fr): a stable label column and the rest for the field, which can shrink (minmax(0, ...)).overflow-wrap: anywhereon the label, so a long key wraps instead of widening the column.width: 100%; min-width: 0on.cfg-form .st-input, so the field fills its column and never overflows.No DOM, JavaScript or endpoint changes. The existing
@media (max-width: 1000px)single-column rule is untouched.Validation
Served the page from a local 0.1.47 server and checked About -> Model settings at 1280x720: labels wrap, fields stay inside the card, and the Save row is unchanged. Not tested at other window sizes or in other browsers.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.