Open-source SEO, GEO, and marketing skills for AI agents.
style(design): FINDING-005 — compact mobile goal controls
Yuting Zhongee53a36f4013
diff --git a/notfair/src/components/goal-controls.tsx b/notfair/src/components/goal-controls.tsxindex d532a8b3..6a750fbf 100644--- a/notfair/src/components/goal-controls.tsx+++ b/notfair/src/components/goal-controls.tsx@@ -54,20 +54,22 @@ export function GoalControls({<Buttonvariant="outline"size="sm"+ aria-label="Run tick now"disabled={pending}onClick={() => run(() => runTickNowAction(goalId), "Tick started — watch the diary.")}><Zap className="size-3.5" />- Run tick now+ <span className="hidden sm:inline">Run tick now</span></Button><Buttonvariant="outline"size="sm"+ aria-label="Pause goal"disabled={pending}onClick={() => run(() => pauseGoalAction(goalId), "Goal paused.")}><Pause className="size-3.5" />- Pause+ <span className="hidden sm:inline">Pause</span></Button></>)}@@ -75,22 +77,24 @@ export function GoalControls({<Buttonvariant="outline"size="sm"+ aria-label="Resume goal"disabled={pending}onClick={() => run(() => resumeGoalAction(goalId), "Goal resumed — heartbeat restarted.")}><Play className="size-3.5" />- Resume+ <span className="hidden sm:inline">Resume</span></Button>)}<Buttonvariant="outline"size="sm"+ aria-label="Close goal"disabled={pending}onClick={() => setKillOpen(true)}className="text-[hsl(0_72%_51%)]"><Square className="size-3.5" />- Close goal+ <span className="hidden sm:inline">Close goal</span></Button><Dialog open={killOpen} onOpenChange={setKillOpen}>