[GH-ISSUE #6863] Advanced Parameters: a long "Effective" line wraps and pushes the input box down #3847

Closed
opened 2026-10-21 06:08:07 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Sep 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6863

Originally assigned to: @SpicyMarinara on GitHub.

What happens

In Chat Settings → Advanced Parameters, parameters sit in a two-column grid. Each one has an "Effective: … · from preset" line under its label. When that line is too long for the column (for example "Effective: 8192 · from preset" under Max Output Tokens on a phone), it wraps onto a second line. That parameter's input box is pushed lower than its neighbour's, so the two boxes in the row no longer line up.

This was seen in mobile view. Desktop behaves the same way whenever the drawer is narrow enough for the line to wrap.

Cause

ParameterHeader in packages/client/src/components/ui/GenerationParametersEditor.tsx renders the effective line as <p className="mt-1 break-words …">, so long values wrap. The label right above it already truncates.

Expected

The effective line stays on one line, like the label: it truncates with an ellipsis, and the full text is available as a tooltip and to screen readers. Wrapping must never push the input down, and inputs in the same row stay aligned. The same component is used by the Connection and Preset parameter editors, so they get the fix too.

Originally created by @SpicyMarinara on GitHub (Sep 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6863 Originally assigned to: @SpicyMarinara on GitHub. ## What happens In **Chat Settings → Advanced Parameters**, parameters sit in a two-column grid. Each one has an "Effective: … · from preset" line under its label. When that line is too long for the column (for example "Effective: 8192 · from preset" under Max Output Tokens on a phone), it wraps onto a second line. That parameter's input box is pushed lower than its neighbour's, so the two boxes in the row no longer line up. This was seen in mobile view. Desktop behaves the same way whenever the drawer is narrow enough for the line to wrap. ## Cause `ParameterHeader` in `packages/client/src/components/ui/GenerationParametersEditor.tsx` renders the effective line as `<p className="mt-1 break-words …">`, so long values wrap. The label right above it already truncates. ## Expected The effective line stays on one line, like the label: it truncates with an ellipsis, and the full text is available as a tooltip and to screen readers. Wrapping must never push the input down, and inputs in the same row stay aligned. The same component is used by the Connection and Preset parameter editors, so they get the fix too.
bsakaguchi 2026-10-21 06:08:07 +07:00
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
Pasta-Devs/Marinara-Engine#3847
No description provided.