1 Commits
Author SHA1 Message Date
Supra4E8C 8ba200df02 refactor(config): render toggles and inputs as one setting-row layout
Toggles were 74px bordered cards while inputs stacked label, field and
hint, and both shared one auto-fit grid, so rows had uneven heights and
up to four nested borders. Every setting is now a row with the title,
hint and error on the left and the control on the right. Only the
control differs: ToggleSetting, TextSetting (sm/md/lg widths, optional
adornment), SelectSetting, and BlockSetting for list editors.

Rows sit in a SettingList, a rounded container with hairline dividers.
A list two columns wide or wider (container query at 880px) pairs its rows; at
520px or less, inputs stack under their labels while switches stay on the right.
A row that would be left alone in its row spans the full width
automatically, so `wide` only marks long URLs and master switches and
must be passed at the call site. The sponsor alignment spacer is gone
because the sponsor link now fills the proxy URL hint slot.

Groups, field order and search anchors are unchanged. New tests cover
row accessibility wiring and render every section to assert that no
list leaves a half-empty row.
2026-10-09 16:56:44 +08:00