feat(project): 보드 최상위 작업 카드에도 설명이 있으면 설명 아이콘

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-29 13:43:05 +09:00
parent 8859fb0aeb
commit e9b498dd04
3 changed files with 9 additions and 1 deletions
+3
View File
@@ -847,6 +847,9 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z);
.pj-cmt-ic { font-size: 12px; vertical-align: middle; margin-left: 4px; line-height: 1; display: inline-block; }
.pj-cmt-n { font-size: 11px; font-weight: 700; vertical-align: middle; margin-left: 1px; }
.pj-card-cmt { display: inline-flex; align-items: center; color: #6b7280; }
/* 보드 카드 — 설명이 있으면 줄글 아이콘(댓글 배지 옆) */
.pj-card-desc { display: inline-flex; align-items: center; flex: 0 0 auto; color: #6b7280; }
.pj-card-desc svg { width: 14px; height: 14px; }
.pj-cmt-badge { display: inline-flex; align-items: center; flex: 0 0 auto; color: #6b7280; cursor: pointer; }
/* 캘린더 막대·목록 행 안의 말풍선 — 색은 그 자리 글자색을 따른다(막대=흰색) */
.pj-cmt-badge.pj-cmt-inline { color: inherit; }
+4
View File
@@ -4613,6 +4613,10 @@
? '<span class="pj-card-cmt pj-cmt-badge" data-task-id="' + t.id + '" data-count="' + t.comment_count +
'" title="댓글 ' + t.comment_count + '개">' + cmtBadgeInner(t) + "</span>"
: "") +
// 설명이 있으면 줄글 아이콘(하위 작업 줄과 같은 모양) — 누르면 카드처럼 작업 창.
(hasDescription(t.description)
? '<span class="pj-card-desc" title="설명 있음">' + DESC_ICON_SVG + "</span>"
: "") +
"</div>" +
"</div>" +
// 펼침 영역 — 바깥(.pj-card-subs-wrap)이 grid 0fr↔1fr 로 높이를