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(writers-room): enforce min 44px touch target on StoryboardConfigTab seed randomizer button (#4018)

[._.]/ Adam Eivy7b4c12a8d310
diff --git a/client/src/components/writers-room/StoryboardConfigTab.jsx b/client/src/components/writers-room/StoryboardConfigTab.jsx
index 6be0122dba..d0dd0429ed 100644
--- a/client/src/components/writers-room/StoryboardConfigTab.jsx
+++ b/client/src/components/writers-room/StoryboardConfigTab.jsx
@@ -236,7 +236,7 @@ function ImageGenSettingsRow({ cfg, models, availableBackends = [], onChange })
<button
type="button"
onClick={() => onChange({ ...cfg, seed: randomSeed() })}
- className="px-1.5 text-gray-500 hover:text-port-accent border border-port-border rounded"
+ className="min-h-[44px] min-w-[44px] flex items-center justify-center text-gray-500 hover:text-port-accent border border-port-border rounded"
title="Randomize seed"
aria-label="Randomize seed"
>
diff --git a/client/src/components/writers-room/StoryboardConfigTab.test.jsx b/client/src/components/writers-room/StoryboardConfigTab.test.jsx
index ecc2d5d7ac..9c188e2800 100644
--- a/client/src/components/writers-room/StoryboardConfigTab.test.jsx
+++ b/client/src/components/writers-room/StoryboardConfigTab.test.jsx
@@ -42,4 +42,12 @@ describe('StoryboardConfigTab', () => {
expect(screen.queryByRole('button', { name: 'Clear' })).toBeNull();
});
+
+ it('a11y: the seed randomizer button meets the 44px touch-target floor', () => {
+ render(<StoryboardConfigTab {...baseProps} />);
+
+ const seedBtn = screen.getByRole('button', { name: 'Randomize seed' });
+ expect(seedBtn.className).toContain('min-h-[44px]');
+ expect(seedBtn.className).toContain('min-w-[44px]');
+ });
});