Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: raise sprite panel and workflow controls to usable touch targets

[._.]/ Adam Eivy978a10d7e51e
diff --git a/client/src/components/sprites/ReferenceWorkflow.jsx b/client/src/components/sprites/ReferenceWorkflow.jsx
index abc4609de0..64ac7e191a 100644
--- a/client/src/components/sprites/ReferenceWorkflow.jsx
+++ b/client/src/components/sprites/ReferenceWorkflow.jsx
@@ -96,8 +96,8 @@ function CandidateTile({ recordId, candidate, locking, onLock, clipRisk, correct
) : confirming ? (
<div className="mt-auto flex flex-wrap items-center gap-1 text-xs">
<span className="text-port-warning">Freeze this version?</span>
- <button onClick={() => { setConfirming(false); onLock(candidate); }} disabled={locking} className="px-1.5 py-0.5 bg-port-accent text-white rounded disabled:opacity-50">Lock</button>
- <button onClick={() => setConfirming(false)} className="px-1.5 py-0.5 text-gray-400 hover:text-white">Cancel</button>
+ <button onClick={() => { setConfirming(false); onLock(candidate); }} disabled={locking} className="min-h-[36px] px-1.5 py-0.5 bg-port-accent text-white rounded disabled:opacity-50">Lock</button>
+ <button onClick={() => setConfirming(false)} className="min-h-[36px] px-1.5 py-0.5 text-gray-400 hover:text-white">Cancel</button>
</div>
) : (
<button
@@ -135,7 +135,7 @@ function LockedAnchor({ recordId, anchor, canUnlock, unlocking, onUnlock }) {
aria-label={`Confirm unlock ${direction} anchor`}
onClick={() => { setConfirming(false); onUnlock(direction); }}
disabled={unlocking}
- className="flex-1 rounded bg-port-warning px-1.5 py-1 font-medium text-black disabled:opacity-50"
+ className="min-h-[36px] flex-1 rounded bg-port-warning px-1.5 py-1 font-medium text-black disabled:opacity-50"
>
Unlock
</button>
@@ -143,7 +143,7 @@ function LockedAnchor({ recordId, anchor, canUnlock, unlocking, onUnlock }) {
type="button"
onClick={() => setConfirming(false)}
disabled={unlocking}
- className="rounded px-1.5 py-1 text-gray-400 hover:text-white disabled:opacity-50"
+ className="min-h-[36px] rounded px-1.5 py-1 text-gray-400 hover:text-white disabled:opacity-50"
>
Cancel
</button>
diff --git a/client/src/components/sprites/WalkWorkflow.jsx b/client/src/components/sprites/WalkWorkflow.jsx
index fdc4f11568..2807945d6d 100644
--- a/client/src/components/sprites/WalkWorkflow.jsx
+++ b/client/src/components/sprites/WalkWorkflow.jsx
@@ -423,8 +423,8 @@ function DirectionCard({
confirming ? (
<div className="flex items-center gap-1 text-xs">
<span className="text-port-warning">Approve?</span>
- <button onClick={() => { setConfirming(false); onApprove(direction, candidate.id); }} className="px-1.5 py-0.5 bg-port-accent text-white rounded">Yes</button>
- <button onClick={() => setConfirming(false)} className="px-1.5 py-0.5 text-gray-400 hover:text-white">No</button>
+ <button onClick={() => { setConfirming(false); onApprove(direction, candidate.id); }} className="min-h-[36px] px-1.5 py-0.5 bg-port-accent text-white rounded">Yes</button>
+ <button onClick={() => setConfirming(false)} className="min-h-[36px] px-1.5 py-0.5 text-gray-400 hover:text-white">No</button>
</div>
) : (
// Approval is where a direction's geometry gets frozen into the
@@ -441,7 +441,7 @@ function DirectionCard({
title={run?.importedPackaging
? 'This run was packaged by the source pipeline, which kept its frames — reprocess it from its clip first'
: drift ? `Re-derive this direction to ${cycleLabel} before approving it` : undefined}
- className="w-full px-2 py-0.5 text-xs bg-port-success/20 border border-port-success rounded text-port-success disabled:opacity-50"
+ className="min-h-[36px] w-full px-2 py-0.5 text-xs bg-port-success/20 border border-port-success rounded text-port-success disabled:opacity-50"
>
Approve
</button>
diff --git a/client/src/pages/Sprites.jsx b/client/src/pages/Sprites.jsx
index 564e7e9ddd..469a5d6207 100644
--- a/client/src/pages/Sprites.jsx
+++ b/client/src/pages/Sprites.jsx
@@ -97,7 +97,7 @@ function ImportPanel({ onImported }) {
<div className="bg-port-card border border-port-border rounded-lg p-4 space-y-3">
<div className="flex items-center justify-between">
<h3 className="text-sm font-semibold text-white">Import production sprites</h3>
- <button onClick={() => setOpen(false)} aria-label="Close import panel" className="text-gray-400 hover:text-white">
+ <button onClick={() => setOpen(false)} aria-label="Close import panel" className="p-2 min-h-[44px] min-w-[44px] flex items-center justify-center text-gray-400 hover:text-white">
<X className="w-4 h-4" />
</button>
</div>
@@ -175,7 +175,7 @@ function NewSpritePanel({ onCreated }) {
<div className="bg-port-card border border-port-border rounded-lg p-4 space-y-3">
<div className="flex items-center justify-between">
<h3 className="text-sm font-semibold text-white">New sprite</h3>
- <button onClick={() => setOpen(false)} aria-label="Close new sprite panel" className="text-gray-400 hover:text-white">
+ <button onClick={() => setOpen(false)} aria-label="Close new sprite panel" className="p-2 min-h-[44px] min-w-[44px] flex items-center justify-center text-gray-400 hover:text-white">
<X className="w-4 h-4" />
</button>
</div>