From 9f95dc45eec1e4f8ef0bf8a118454646d1a8c507 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Tue, 19 May 2026 00:56:18 +0000
Subject: fix(a11y): bump command palette result rows to 44px on touch

Result rows are <a>, not <button>, so the global input.css coarse
-pointer height bump did not cascade. Adds a scoped pointer:coarse
block that lifts vertical padding from 0.5em to 0.875em (~46px tall
at the palette's 1.05em base) and trims row margin so the taller
rows do not double-space.
---
 src/lib/CommandPalette/CommandPalette.svelte | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'src/lib/CommandPalette/CommandPalette.svelte')

diff --git a/src/lib/CommandPalette/CommandPalette.svelte b/src/lib/CommandPalette/CommandPalette.svelte
index faa739a4..b68d468d 100644
--- a/src/lib/CommandPalette/CommandPalette.svelte
+++ b/src/lib/CommandPalette/CommandPalette.svelte
@@ -380,4 +380,11 @@ const handleGlobalKey = (e: KeyboardEvent) => {
   .dropdown-content a.selected {
     background-color: var(--base01);
   }
+
+  @media (pointer: coarse) {
+    .dropdown-content a {
+      padding: 0.875em 1em;
+      margin: 0.25em 0.75em;
+    }
+  }
 </style>
-- 
cgit v1.2.3

