mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3176] [CLOSED] [GUI] Web app: use wide windows and fit narrow screens #4490
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#4490
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/3176
Author: @mnott
Created: 10/19/2026
Status: ❌ Closed
Base:
main← Head:web-responsive📝 Commits (1)
7872755style(web): use wide windows and fit narrow screens📊 Changes
1 file changed (+36 additions, -12 deletions)
View changed files
📝
serve/web/app.css(+36 -12)📄 Description
Rebased onto v0.2.6 (one commit; one conflict in
.cfg-formresolved so v0.2.6's own form changes stay).Problem and result
The web app's views were capped at fixed widths (chat 860 px, monitor 1240 px), so on a wide window, or in a wide side panel, most of the space stayed empty. With this change the layout follows the window: the monitor grows up to 1920 px with its metric cards filling the row, chat, composer and About grow to 1100 px, and narrow screens stack.
Related discussion
Overview of our related macOS / Metal contributions: #4128.
Approach
CSS only (
serve/web/app.css):max-width: min(100%, …)for the views,repeat(auto-fit, minmax(280px, 1fr))for the metric cards, breakpoints at 900, 640, 560 and 480 px (the monitor row stacks, metrics drop to one column, the settings form becomes one column).Validation
Revision
7872755donv0.2.6, served byserve/server.py, measured in Chrome (element widths fromgetBoundingClientRect, grid columns from the computed style).Passed:
No horizontal scrolling at any of these widths.
Failed:
Not run:
Limits
CSS only; no change to the markup or scripts.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.