From 28a4af0852ccf2d77d4671814eae6a2175387bf8 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 2 Mar 2026 04:35:24 +0000 Subject: [PATCH] Shorten card issue count labels to prevent text wrapping Replace "X issues in library" / "X in library" with just "X issues" on tracking and stack-detail cards so triple-digit counts don't cause uneven card heights. https://claude.ai/code/session_0125UeL2hhBcfNT2ovgVgFNJ --- static/js/features/stacks-detail.js | 2 +- static/js/features/tracking.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/features/stacks-detail.js b/static/js/features/stacks-detail.js index 24c8016..0f39e58 100644 --- a/static/js/features/stacks-detail.js +++ b/static/js/features/stacks-detail.js @@ -259,7 +259,7 @@ function createMemberCard(item) { if (item.type === 'tracking') { const count = item.library_count || 0; if (count > 0) { - subtitle.textContent = `${count} issue${count !== 1 ? 's' : ''} in library`; + subtitle.textContent = `${count} issue${count !== 1 ? 's' : ''}`; } else { subtitle.textContent = 'Tracking ยท no issues yet'; } diff --git a/static/js/features/tracking.js b/static/js/features/tracking.js index 0409a15..fa839e1 100644 --- a/static/js/features/tracking.js +++ b/static/js/features/tracking.js @@ -1071,7 +1071,7 @@ export class TrackingManager { : ''; const issueStats = totalKnown > 0 ? `${totalKnown} issues found` : ''; - const libraryStats = ` ${libraryCount} in library`; + const libraryStats = ` ${libraryCount} issues`; const selectedStats = selectedCount > 0 ? `\u2022 ${selectedCount} selected`