commit a53dcc3509035601e9a77a9fb4044a31d98b71e3
parent c38a21867140d1971b44a8fbcfa113e23932c914
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 9 Nov 2026 20:37:15 -0500
umtool: the teaser panel's line rows line up (a field's limits said once, in its label) (redesign L6)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/umtool/components/projects/inspector/TeaserInspector.tsx b/umtool/components/projects/inspector/TeaserInspector.tsx
@@ -139,13 +139,13 @@ export default function TeaserInspector({ project, block = null }: InspectorProp
<ol className="mt-2 flex flex-col gap-1.5">
{lines.map((l, i) => (
<li key={i} data-teaser-line={i} className="grid items-end gap-1.5 sm:grid-cols-[minmax(0,1fr)_minmax(0,11rem)_minmax(0,5rem)_auto]">
- <Field label={i === 0 ? "Title line" : `Line ${i + 1}`} hint={i === 0 ? `at most ${lim.chars} characters a line` : undefined}>
+ <Field label={i === 0 ? `Title line (≤ ${lim.chars} characters a line)` : `Line ${i + 1}`}>
<Input data-teaser-line-field="text" value={l.text} maxLength={lim.chars} onChange={(e) => setLine(i, { text: e.target.value })} />
</Field>
- <Field label="Break" hint="the end of its words, a second tier">
+ <Field label={i === 0 ? "Break (its words' end)" : "Break"}>
<Input data-teaser-line-field="break" value={l.break} onChange={(e) => setLine(i, { break: e.target.value })} />
</Field>
- <Field label="Hold" hint={`0–${lim.hold} s`}>
+ <Field label={i === 0 ? `Hold (0–${lim.hold} s)` : "Hold"}>
<Input data-teaser-line-field="hold" type="number" step={0.1} min={0} max={lim.hold} value={l.hold} onChange={(e) => setLine(i, { hold: e.target.value })} />
</Field>
<Button type="button" size="sm" variant="quiet" data-teaser-line-remove={i} disabled={lines.length === 1} onClick={() => setLines((ls) => ls.filter((_, k) => k !== i))}>