commit 4f8f80e4fb28125824a28bbcedb1f8e32efca1b1
parent 1e44b09ad122b58b34df48cf92aac38fc474deec
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 9 Nov 2026 20:19:49 -0500
umtool: the rail's pills fit their labels at 1366; the spec reads the stub's log where the suite writes it (lane L5)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/umtool/components/ingredients/IngredientRail.tsx b/umtool/components/ingredients/IngredientRail.tsx
@@ -121,12 +121,12 @@ export default function IngredientRail({ data, initialStage, editorUrl }: { data
onClick={() => choose(s.key)}
title={s.line}
className={cn(
- "flex w-full items-center justify-between gap-2 rounded-[3px] border px-2 py-1.5 text-left text-[12px] transition-[color,background-color,border-color]",
+ "flex w-full items-center justify-between gap-1 rounded-[3px] border px-1.5 py-1.5 text-left text-[12px] transition-[color,background-color,border-color]",
s.key === stage.key ? "border-muted bg-panel-2 text-text" : "border-seam bg-panel text-text-2 hover:border-seam-2 hover:text-text",
)}
>
<span className="truncate font-medium">{s.label}</span>
- <span className={cn("min-w-[1.6rem] shrink-0 rounded-[3px] border px-1 text-center font-mono text-[11.5px] leading-[18px]", PILL_CLASS[s.pill.kind])}>{GLYPH(s.pill)}</span>
+ <span className={cn("min-w-[1.3rem] shrink-0 rounded-[3px] border px-1 text-center text-[11.5px] font-semibold tabular-nums leading-[18px]", PILL_CLASS[s.pill.kind])}>{GLYPH(s.pill)}</span>
</button>
</li>
))}
diff --git a/umtool/e2e/ingredient-rail.spec.ts b/umtool/e2e/ingredient-rail.spec.ts
@@ -20,7 +20,7 @@ import * as urls from "./urls";
test.describe.configure({ mode: "serial" });
-const FIXTURE = path.join(path.dirname(fileURLToPath(import.meta.url)), ".e2e-song");
+const FIXTURE = path.join(path.dirname(fileURLToPath(import.meta.url)), "..", ".e2e-song");
const STUB_LOG = path.join(FIXTURE, "editor-stub.requests.json");
const SHOTS = process.env.INGREDIENT_SHOTS ?? null;
const RAIL = urls.ingredientHref("railchan", "railvid");