commit 10a31fd35925499464533db9ea5870620d54de9d
parent 3f2bae3dcbaa92d6a00640e3f1f04e9e040a125d
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Fri, 30 Oct 2026 12:27:34 -0400
umtool Reject ▾: the reasons are a dropdown, so opening them moves nothing
At 1366×768 the reasons as a row pushed the bench's last attribution field
23 px off its column. Over what is below it they move nothing; in the
phone's sheet they stay inline (they are the sheet's content).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/umtool/components/projects/review/RejectClip.tsx b/umtool/components/projects/review/RejectClip.tsx
@@ -272,7 +272,7 @@ export default function RejectClip({
if (!clip && !doneId && phase.k !== "undone") return null;
const needNote = r?.note === "required" && !note.trim();
return (
- <div ref={root} className={cn("text-[12px] text-text-2", className)} data-reject={shown} data-reject-phase={phase.k}>
+ <div ref={root} className={cn("relative text-[12px] text-text-2", className)} data-reject={shown} data-reject-phase={phase.k}>
{(phase.k === "idle" || phase.k === "undone" || phase.k === "menu") && (
<div className="flex flex-wrap items-center gap-2">
{clip && (
@@ -304,7 +304,17 @@ export default function RejectClip({
</div>
)}
{clip && phase.k === "menu" && (
- <div role="menu" aria-label={`Reject ${clip.id} — why?`} data-reject-menu="" className="mt-1.5 flex flex-wrap gap-1.5">
+ <div
+ role="menu"
+ aria-label={`Reject ${clip.id} — why?`}
+ data-reject-menu=""
+ // A dropdown over what is below it, so opening it moves nothing (the answer column keeps its last
+ // field on screen); in the phone's sheet it is the content, inline.
+ className={cn(
+ "flex flex-wrap gap-1.5",
+ initialOpen ? "mt-1.5" : "absolute left-0 top-full z-30 mt-1 w-max max-w-[min(30rem,90vw)] rounded-[3px] border border-seam-2 bg-panel p-1.5 shadow-lg",
+ )}
+ >
{REJECT_REASONS.map((x, i) => (
<button
key={x.id}