From c82c0f2108646e1cf93bb563bf6b6ad9b0f17a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorem=20Ju=C3=A1rez?= Date: Tue, 16 Jun 2026 12:50:07 -0600 Subject: [PATCH] Show full dish description on public cards (no truncation) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The card description was clamped to 2 lines with an ellipsis. Removed the line-clamp so it shows in full and the card grows to fit (the flip front face is in normal flow, so it already drives card height; the back is the absolute overlay). Added whitespace-pre-line to honor line breaks. Grid uses items-start so cards of different heights render at their natural height (rows align to the tallest) instead of being stretched with awkward gaps. List view already shows the full description on expand — unchanged. --- src/components/public/DishCard.tsx | 2 +- src/components/public/PublicMenu.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/public/DishCard.tsx b/src/components/public/DishCard.tsx index 76372e2..122ddf2 100644 --- a/src/components/public/DishCard.tsx +++ b/src/components/public/DishCard.tsx @@ -59,7 +59,7 @@ export default function DishCard({ {description && ( -

{description}

+

{description}

)}
{product.dietTags.map((tag) => ( diff --git a/src/components/public/PublicMenu.tsx b/src/components/public/PublicMenu.tsx index 35335ec..cd2b877 100644 --- a/src/components/public/PublicMenu.tsx +++ b/src/components/public/PublicMenu.tsx @@ -258,7 +258,7 @@ export default function PublicMenu({ menu, slug }: { menu: MenuSnapshot; slug: s ))}
) : ( -
+
{s.products.map((p, i) => (