feat(project): 작업 창 댓글 입력칸을 창 하단에 고정(아사나식)

입력칸을 스크롤 영역(.pj-modal-body) 밖 #pj-comment-dock 으로 옮겨
항상 보이고, 끝까지 스크롤해도 마지막 내용이 입력칸 위에서 멈춘다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-28 21:08:59 +09:00
parent 2b6b598ea0
commit 5be647b14f
8 changed files with 39 additions and 14 deletions
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260928g" />
<link rel="stylesheet" href="/static/project.css?v=20260928h" />
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<!-- 타임라인 vis-timeline — self-host -->
@@ -401,16 +401,22 @@
<!-- 댓글(활동) — 팝업 너비 전체를 쓰는 맨 아래 줄. 길어지면 자체
스크롤 없이 팝업 전체(.pj-modal-body)와 함께 늘어난다.
입력칸은 여기 없고 아래 #pj-comment-dock(창 하단 고정)에 있다.
기존 업무 편집 시에만. -->
<div class="pj-task-extra pj-comment-full" id="pj-comment-block" hidden>
<div class="pj-extra-head">
<span class="pj-cmt-emoji">💬</span> 댓글
</div>
<ul class="pj-comment-list" id="pj-comment-list"></ul>
<div class="pj-comment-form">
<input type="text" id="pj-comment-input" placeholder="댓글 입력…" />
<button type="button" class="pj-btn pj-btn-primary" id="pj-comment-send">등록</button>
</div>
</div>
</div>
<!-- 댓글 입력칸 — 아사나처럼 작업 창 맨 아래에 항상 고정. 스크롤 영역(.pj-modal-body)
바깥이라 끝까지 내려도 마지막 내용은 이 칸 바로 위에서 멈추고 가리지 않는다. -->
<div class="pj-comment-dock" id="pj-comment-dock" hidden>
<div class="pj-comment-form">
<input type="text" id="pj-comment-input" placeholder="댓글을 추가하거나 @로 멤버를 태그하세요" />
<button type="button" class="pj-btn pj-btn-primary" id="pj-comment-send">등록</button>
</div>
</div>
@@ -485,5 +491,5 @@
</script>
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
<script src="/static/project.js?v=20260928g" defer></script>
<script src="/static/project.js?v=20260928h" defer></script>
{% endblock %}