From f5223e5636065ca8714d128466aa478505567b98 Mon Sep 17 00:00:00 2001 From: John Mizerek Date: Thu, 12 Mar 2026 11:32:11 -0700 Subject: [PATCH] Fix KDS: only show pointer cursor on items with modifiers Co-Authored-By: Claude Opus 4.6 --- kds/index.html | 3 ++- kds/kds.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kds/index.html b/kds/index.html index 0b57415..14c86aa 100644 --- a/kds/index.html +++ b/kds/index.html @@ -44,7 +44,8 @@ .line-items { margin-bottom: 15px; } .line-item { margin-bottom: 10px; padding: 10px; background: #0a0a0a; border-radius: 6px; } - .line-item-main { display: flex; justify-content: space-between; align-items: flex-start; cursor: pointer; } + .line-item-main { display: flex; justify-content: space-between; align-items: flex-start; } + .line-item-main.has-extras { cursor: pointer; } .item-name { font-size: 14px; font-weight: 500; color: #aaa; flex: 1; } .item-qty { font-size: 14px; font-weight: 600; color: #666; margin-left: 10px; } .mod-badge { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 6px; background: #1a1a2e; border-radius: 10px; font-size: 11px; color: #888; cursor: pointer; } diff --git a/kds/kds.js b/kds/kds.js index 05ba413..b29cffd 100644 --- a/kds/kds.js +++ b/kds/kds.js @@ -381,7 +381,7 @@ function renderLineItem(item, allItems, isOtherStation = false) { const extrasId = `extras-${item.OrderLineItemID}`; return `
-
+
${escapeHtml(item.Name)}
${hasExtras ? `${extrasCount}` : ''}
x${item.Quantity}