From 7effedea3f7dc4bacfaa2139df9a5686967667f8 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Sun, 12 Apr 2026 20:14:28 +0200 Subject: [PATCH] feat(31-01): add responsive icon buttons to item detail page Replace text action buttons (Duplicate, Delete, Edit) with icon-only buttons on mobile viewports (below md: breakpoint). Desktop retains full text buttons. All icon buttons have aria-label and 44px touch targets. --- src/client/routes/items/$itemId.tsx | 44 +++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 3 deletions(-) diff --git a/src/client/routes/items/$itemId.tsx b/src/client/routes/items/$itemId.tsx index ba62342..37e39db 100644 --- a/src/client/routes/items/$itemId.tsx +++ b/src/client/routes/items/$itemId.tsx @@ -188,28 +188,66 @@ function ItemDetail() { {!isEditing && (
+ {/* Duplicate — desktop */} + {/* Duplicate — mobile */} + + {/* Delete — desktop */} + {/* Delete — mobile */} + + {/* Edit — desktop */} + {/* Edit — mobile */} +
)} {isEditing && (