From 3d736769e0a140bdab367d6e9409bdb9b4d86d08 Mon Sep 17 00:00:00 2001 From: lukas Date: Sun, 13 Sep 2026 21:26:46 +0200 Subject: [PATCH] Wrap stepper button glyphs in a span for iOS Safari centering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flexbox centering of a bare text node inside a diff --git a/src/components/ordering/MenuList.tsx b/src/components/ordering/MenuList.tsx index a63d178..71074a0 100644 --- a/src/components/ordering/MenuList.tsx +++ b/src/components/ordering/MenuList.tsx @@ -72,7 +72,7 @@ export const MenuList = ({ menu, lines, onAdd, onRemove }: MenuListProps) => ( disabled={(defaultLine?.quantity ?? 0) === 0} aria-label={`Remove one ${item.name}`} > - − + ( onClick={() => onAdd(item.id)} aria-label={`Add one ${item.name}`} > - + + diff --git a/src/routes/basket.tsx b/src/routes/basket.tsx index 2f489a2..a2d31aa 100644 --- a/src/routes/basket.tsx +++ b/src/routes/basket.tsx @@ -119,7 +119,7 @@ const BasketPage = () => { onClick={() => remove(line.menuItemId, line.optionIds)} aria-label={`Remove one ${item.name}`} > - − + { onClick={() => add(line.menuItemId, line.optionIds)} aria-label={`Add one ${item.name}`} > - + +