style(project): 작업 설명란을 아사나처럼 테두리 없이 내용만큼 늘어나게

- .pj-desc-editor: max-height 300px·내부 스크롤·테두리 제거 — 설명 길이대로
  아래로 계속 늘어나고 스크롤은 작업 창 전체가 한다
- 음수 여백으로 글자를 다른 칸과 같은 왼쪽 끝에 맞춰 가로 폭 전부 사용,
  마우스를 올리거나 입력 중일 때만 옅은 바탕
- 정적 파일 버전 20260926p

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-26 14:25:41 +09:00
parent f265a59c3f
commit f8ff75127b
6 changed files with 19 additions and 13 deletions
+9 -3
View File
@@ -1005,11 +1005,17 @@ label.pj-desc-fmtbtn {
accent-color: var(--pj-accent);
}
.pj-desc-fmtsep { width: 1px; height: 16px; background: #e2e4ea; margin: 0 4px; }
/* 설명 — 아사나처럼 테두리·고정 높이 없이 내용만큼 아래로 계속 늘어난다(스크롤은 작업 창 전체가 한다).
글자는 다른 칸과 같은 왼쪽 끝에 맞추고(음수 여백), 마우스를 올리거나 입력 중일 때만 옅은 바탕으로
입력 영역임을 알려준다. */
.pj-desc-editor {
min-height: 80px; max-height: 300px; overflow-y: auto; padding: 8px 10px;
border: 1px solid #d8dce2; border-radius: 8px; font-size: 13.5px; font-family: inherit;
line-height: 1.5; margin-bottom: 12px; background: #fff;
min-height: 60px; padding: 6px 8px; margin: 0 -8px 12px;
border: none; border-radius: 8px; font-size: 13.5px; font-family: inherit;
line-height: 1.6; background: transparent; outline: none;
transition: background .12s;
}
.pj-desc-editor:hover { background: #f7f8fa; }
.pj-desc-editor:focus { background: #f5f6f8; }
.pj-desc-editor:empty::before { content: attr(data-placeholder); color: #b7bdc5; }
.pj-desc-editor img { max-width: 100%; border-radius: 6px; margin: 4px 0; display: block; cursor: pointer; }
.pj-desc-editor img.pj-img-selected { outline: 2px solid var(--pj-accent); outline-offset: 1px; }