feat(project): 업무 편집 팝업 버튼 줄을 맨 위에 고정
공유·완료로 표시·삭제·취소·저장 버튼이 팝업 맨 아래에 있어, 설명이나 하위 업무가 길어지면 저장하려고 아래로 내려가야 했다. 버튼 줄을 카드 맨 위로 옮기고 sticky 로 고정했다. 카드는 compact(새 업무) 모드에서 자체 스크롤 컨테이너이기도 해서, 좌우 음수 마진(-22px = 카드 padding)으로 폭을 꽉 채우고 위쪽 모서리 반경을 카드와 맞췄다. 다른 모달(프로젝트/세션/멤버)의 버튼 줄은 그대로 아래에 둔다 — 내용이 짧아 스크롤될 일이 없다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -483,6 +483,16 @@
|
||||
.pj-form-row input[type="time"]:disabled { background: #f2f2f2; color: #aaa; cursor: not-allowed; }
|
||||
#pj-time-row:has(input:disabled) label { color: #aaa; }
|
||||
.pj-modal-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
|
||||
/* 업무 편집 팝업은 버튼 줄이 맨 위에 고정이다 — 설명/하위업무가 길어도
|
||||
스크롤하지 않고 저장·취소할 수 있다. 카드는 padding 22px 을 가진 스크롤
|
||||
컨테이너이기도 해서(compact 모드), 좌우로 음수 마진을 줘 카드 폭을 꽉
|
||||
채우고 sticky 로 고정한다. */
|
||||
.pj-modal-actions-top {
|
||||
position: sticky; top: 0; z-index: 3; flex: none;
|
||||
margin: -22px -22px 12px; padding: 14px 22px;
|
||||
background: #fff; border-bottom: 1px solid #eef0f2;
|
||||
border-radius: 16px 16px 0 0;
|
||||
}
|
||||
.pj-btn-complete { background: #e9f7ef; color: #1e8e5a; border: 1px solid #bfe8d2; font-weight: 700; }
|
||||
.pj-btn-complete:hover { background: #d9f2e4; }
|
||||
.pj-btn-complete.is-done { background: #f2f2f4; color: #6b6f76; border-color: var(--pj-border); }
|
||||
|
||||
Reference in New Issue
Block a user