fix(project): [프로젝트/세션]의 업무 편집 안내줄을 버튼 줄 밖으로 이동
버튼 줄 가운데 겹쳐 보이던 절대위치 방식은 버튼이 많아지면 삭제 버튼과 겹쳐 보였다. 대신 버튼 줄 바로 아래, 큰 제목(무테 입력칸) 바로 위에 일반 흐름의 작은 안내줄로 되돌려 겹침 없이 항상 온전히 보이게 한다. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260922l" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260922m" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -93,5 +93,5 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/static/project.js?v=20260922l" defer></script>
|
||||
<script src="/static/project.js?v=20260922m" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260922l" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260922m" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -100,5 +100,5 @@
|
||||
"today": {{ today | tojson }}
|
||||
}
|
||||
</script>
|
||||
<script src="/static/project.js?v=20260922l" defer></script>
|
||||
<script src="/static/project.js?v=20260922m" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260922l" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260922m" />
|
||||
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
<!-- 타임라인 vis-timeline — self-host -->
|
||||
@@ -225,8 +225,7 @@
|
||||
<div class="pj-task-panel-resizer" id="pj-task-panel-resizer" title="드래그해서 너비 조절"></div>
|
||||
<!-- 버튼 줄은 팝업 맨 위에 고정 — 설명·하위업무가 길어져도 스크롤 없이
|
||||
바로 저장/취소할 수 있다(아래 .pj-modal-actions-top). 카드 맨 위
|
||||
모서리에 딱 붙는 얇은 줄이라 바로 아래 제목과 안 겹친다. 제목은
|
||||
가운데 정렬로 이 줄 안에 겹쳐 보여준다(.pj-modal-kicker-center). -->
|
||||
모서리에 딱 붙는 얇은 줄이라 바로 아래 제목과 안 겹친다. -->
|
||||
<div class="pj-modal-actions pj-modal-actions-top">
|
||||
<!-- 공유 — 이 업무의 퍼머링크(/project/t/{id})를 클립보드에 복사.
|
||||
받은 사람이 열면 로그인 후 이 업무 팝업이 바로 뜬다(멤버만). -->
|
||||
@@ -235,8 +234,6 @@
|
||||
</button>
|
||||
<button type="button" class="pj-btn pj-btn-complete" id="pj-toggle-complete" hidden>✓ 완료로 표시</button>
|
||||
<button type="button" class="pj-btn pj-btn-danger" id="pj-delete-task" hidden>삭제</button>
|
||||
<!-- [프로젝트명/세션 이름]의 업무 편집 — 버튼 줄 가운데. -->
|
||||
<h3 id="pj-task-modal-title" class="pj-modal-kicker pj-modal-kicker-center">새 업무</h3>
|
||||
<span style="flex:1"></span>
|
||||
<button type="button" class="pj-btn" data-close>취소</button>
|
||||
<button type="button" class="pj-btn pj-btn-primary" id="pj-save-task">저장</button>
|
||||
@@ -245,6 +242,8 @@
|
||||
<span class="material-symbols-outlined">last_page</span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- [프로젝트명/세션 이름]의 업무 편집 — 큰 제목(무테 입력칸) 바로 위 작은 안내줄. -->
|
||||
<h3 id="pj-task-modal-title" class="pj-modal-kicker">새 업무</h3>
|
||||
<!-- 아사나처럼 큰 제목은 이 무테 입력칸이 대신한다. -->
|
||||
<input type="hidden" id="pj-t-id" />
|
||||
<input type="text" id="pj-t-title" class="pj-t-title-input" placeholder="업무 제목" />
|
||||
@@ -468,5 +467,5 @@
|
||||
</script>
|
||||
|
||||
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
|
||||
<script src="/static/project.js?v=20260922l" defer></script>
|
||||
<script src="/static/project.js?v=20260922m" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -449,16 +449,10 @@
|
||||
.pj-modal-card h3 { margin: 0 0 16px; font-size: 17px; }
|
||||
.pj-modal-hint { margin: -6px 0 14px; font-size: 12px; color: #6b7280; }
|
||||
|
||||
/* 업무 편집 팝업 — 아사나식 레이아웃(큰 무테 제목 + 작은 메타 칩 한 줄). */
|
||||
/* 업무 편집 팝업 — 아사나식 레이아웃. 버튼 줄 바로 아래, 큰 무테 제목
|
||||
바로 위에 [프로젝트/세션]의 업무 편집 같은 작은 안내줄. */
|
||||
.pj-modal-kicker { margin: 0 0 2px; font-size: 11px; font-weight: 700; color: var(--pj-ink-soft);
|
||||
text-transform: uppercase; letter-spacing: .04em; }
|
||||
/* [프로젝트/세션]의 업무 편집 — 버튼 줄 가운데에 겹쳐 표시(버튼 레이아웃에
|
||||
영향 없게 절대 위치, 텍스트가 길면 잘라낸다). */
|
||||
.pj-modal-kicker-center {
|
||||
position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
|
||||
margin: 0; max-width: 44%; overflow: hidden; text-overflow: ellipsis;
|
||||
white-space: nowrap; pointer-events: none;
|
||||
}
|
||||
.pj-t-title-input {
|
||||
display: block; width: 100%; border: none !important; background: transparent !important;
|
||||
font-size: 19px !important; font-weight: 700; padding: 4px 4px !important; margin: 0 0 14px !important;
|
||||
|
||||
Reference in New Issue
Block a user