Skip to content

The source kinds wrap inside the dialog - #388

Merged
WaylandYang merged 1 commit into
devfrom
fix/source-kinds-wrap
Sep 5, 2026
Merged

The source kinds wrap inside the dialog#388
WaylandYang merged 1 commit into
devfrom
fix/source-kinds-wrap

Conversation

@WaylandYang

Copy link
Copy Markdown
Contributor

Follow-up to #386. The twelve source kinds in the New source dialog sat on one non-wrapping row of flex-1 buttons; twelve labels do not fit in 32 rem, so the row ran out of the panel. The old hand-rolled panel had hidden that with its own overflow-y-auto (which clips horizontally too); Dialog does not, and should not.

The row now wraps and each button takes its content width; the selected kind is the primary button, the others secondary, the same pattern the schedule picker uses for its weekday multi-select — and the hand-written u-btn-primary / u-btn-ghost class juggling goes. Measured in the browser: four rows, the widest ending 75 px inside the dialog's edge, no horizontal scroll.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: WaylandYang <wayland0916@gmail.com>
@WaylandYang
WaylandYang merged commit 750f86b into dev Sep 5, 2026
4 checks passed
@WaylandYang
WaylandYang deleted the fix/source-kinds-wrap branch September 5, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant