diff --git a/client/src/admin/Admin.tsx b/client/src/admin/Admin.tsx index 0710e6a..ac74807 100644 --- a/client/src/admin/Admin.tsx +++ b/client/src/admin/Admin.tsx @@ -322,6 +322,19 @@ function BarDrinkEditor({ > {idx + 1}. {d.name} + {/* Drag-and-drop above doesn't fire on touch-only input (no + mouse) and has no keyboard equivalent — these buttons are + the fallback that works regardless of input method. */} + + ); diff --git a/client/src/styles.css b/client/src/styles.css index 21fb3f6..ddf5932 100644 --- a/client/src/styles.css +++ b/client/src/styles.css @@ -295,4 +295,5 @@ button.danger { background: #5a2a2a; border-color: #7a3a3a; color: #fff; } .dnd-item.drop-target { border-color: #6aa; background: var(--surface-2); } .dnd-item .grip { opacity: 0.4; cursor: grab; user-select: none; } .dnd-item .dnd-name { flex: 1; } +.dnd-item button { padding: 2px 8px; font-size: 13px; } .dnd-list li.muted { padding: 6px 8px; } diff --git a/client/src/tablet/App.tsx b/client/src/tablet/App.tsx index 89a6278..d6964ad 100644 --- a/client/src/tablet/App.tsx +++ b/client/src/tablet/App.tsx @@ -36,9 +36,24 @@ export function App() { localStorage.removeItem(STORAGE_KEY); setBarId(null); setConfig(null); + setError(null); } - if (error) return
; + if (error) { + return ( + + ); + } if (barId == null) return