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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: give the Polish snapshot Revert button the same 44px min-width as the other two touch targets (#3565)
[._.]/ Adam Eivyeb293c89a27c
diff --git a/client/src/components/writers-room/PolishPanel.jsx b/client/src/components/writers-room/PolishPanel.jsxindex 14ebc68575..acc7e41004 100644--- a/client/src/components/writers-room/PolishPanel.jsx+++ b/client/src/components/writers-room/PolishPanel.jsx@@ -237,7 +237,7 @@ export default function PolishPanel({ work, dirty, onBodyChanged }) {onClick={() => revert(s.id)}disabled={running || reverting === s.id}title="Revert the draft to this snapshot"- className="shrink-0 flex items-center justify-center gap-1 min-h-[44px] px-2 -my-1.5 -mr-2 text-gray-400 hover:text-white disabled:opacity-40 text-[11px]"+ className="shrink-0 flex items-center justify-center gap-1 min-w-[44px] min-h-[44px] px-2 -my-1.5 -mr-2 text-gray-400 hover:text-white disabled:opacity-40 text-[11px]"><RotateCcw size={11} className={reverting === s.id ? 'animate-spin' : ''} /> Revert</button>diff --git a/client/src/components/writers-room/PolishPanel.test.jsx b/client/src/components/writers-room/PolishPanel.test.jsxindex e2a51db4a3..43c5942a07 100644--- a/client/src/components/writers-room/PolishPanel.test.jsx+++ b/client/src/components/writers-room/PolishPanel.test.jsx@@ -34,10 +34,11 @@ describe('PolishPanel', () => {// The snapshot Revert button used to be an 11px icon + 11px label with no// vertical padding — a ~16px tall tap target on a phone (#3565). Assert the// utility tokens rather than computed geometry; jsdom applies no Tailwind.- it('a11y: the snapshot Revert button meets the 44px touch-target height floor', async () => {+ it('a11y: the snapshot Revert button meets the 44px touch-target floor', async () => {render(<PolishPanel work={{ id: 'work-1' }} dirty={false} />);const revertBtn = await screen.findByRole('button', { name: /revert/i });expect(revertBtn.className).toContain('min-h-[44px]');+ expect(revertBtn.className).toContain('min-w-[44px]');});});