From 42c8d9b66007fb75bfc343d45b85bc0f3ad87315 Mon Sep 17 00:00:00 2001 From: dotta Date: Sun, 22 Mar 2026 06:35:32 -0500 Subject: [PATCH] Fix oversized toggle switches on mobile The global @media (pointer: coarse) rule was forcing min-height: 44px on toggle button elements, inflating them from 20px to 44px. Added data-slot="toggle" to all 10 toggle buttons and a CSS override to reset their min-height, keeping the parent row as the touch target. Co-Authored-By: Paperclip --- ui/src/components/NewIssueDialog.tsx | 1 + ui/src/components/ProjectProperties.tsx | 2 ++ ui/src/components/agent-config-primitives.tsx | 2 ++ ui/src/index.css | 4 ++++ ui/src/pages/AgentDetail.tsx | 2 ++ ui/src/pages/InstanceExperimentalSettings.tsx | 2 ++ ui/src/pages/InstanceGeneralSettings.tsx | 1 + 7 files changed, 14 insertions(+) diff --git a/ui/src/components/NewIssueDialog.tsx b/ui/src/components/NewIssueDialog.tsx index 0a35bd34..6b8519cd 100644 --- a/ui/src/components/NewIssueDialog.tsx +++ b/ui/src/components/NewIssueDialog.tsx @@ -1213,6 +1213,7 @@ export function NewIssueDialog() {
Enable Chrome (--chrome)