mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4434] [Issue]: Storyboard Agent settings overflow horizontally on mobile #2408
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2408
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 @thetopham on GitHub (Aug 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4434
Originally assigned to: @thetopham on GitHub.
Summary
The Storyboard Agent settings GUI overflows horizontally on mobile. The panel/page can be scrolled sideways and the layout becomes visually broken, with content or controls extending beyond the viewport instead of fitting the mobile Agent editor.
Expected behavior
Actual behavior
On mobile, opening the Storyboard Agent GUI allows horizontal scrolling “to the side,” and the overall settings layout is reported as messed up. Content appears wider than the available panel/viewport.
Steps to reproduce
Environment
Logs, screenshots, or video
No screenshot or recording was attached. A screenshot showing which row/card crosses the viewport and the device viewport width would help isolate the first overflowing descendant.
Additional context
The Storyboard package currently provides a data-only Agent entrypoint; Engine renders the dedicated UI in
packages/client/src/components/agents/StoryboardAgentSettingsPanel.tsxthroughAgentEditor.tsx. This makes the responsive layout fix Engine-owned even though Storyboard definitions and defaults live in Pasta-Devs/Marinara-Agents.The responsive audit should check:
min-w-0/max-w-fullon grid, flex, select, input, and textarea descendants;overflow-x: autoor an unconstrained child.Add a focused mobile browser regression that asserts the Storyboard settings document/panel width does not exceed the viewport and that representative controls remain in view.
Template check
@thetopham commented on GitHub (Aug 1, 2026):
Source audit follow-up (current
origin/staging, commit07a3b40a):StoryboardAgentSettingsPanel.tsxuses several responsive CSS grids whose child<label>elements andw-full<select>controls do not havemin-w-0/max-w-full. Long template and connection option labels can therefore size anautogrid track wider than the phone.TemplateCollectionEditoralso lacksmin-w-0on its outer panel/card/wrapper chain. Its name row is partly protected by the input'smin-w-0, but the nestedMacroTextareawrapper is onlyrelativeand the overall editor panel can still contribute a wide min-content size..mari-editor-contentis a flex child withmin-height: 0but nomin-width: 0, and.mari-editor-content-inner--widehas a max width but no explicitwidth: 100%/min-width: 0. There is no intentional horizontal containment on the content scroller.h-8 w-8, andMacroTextareatoolbar buttons are roughly icon-plus-p-1, below the 44 px product target and potentially below WCAG 2.2's 24 px minimum depending on computed size.Suggested regression assertion after the fix:
scrollWidth <= clientWidth + 1for the Agent editor shell/content and the document viewport.This remains Engine-owned UI. No package artifact change is needed unless the Storyboard defaults or metadata also change.