From f8ff75127b877b30724efef91f003b802bfd7e3f Mon Sep 17 00:00:00 2001 From: king Date: Sat, 26 Sep 2026 14:25:41 +0900 Subject: [PATCH] =?UTF-8?q?style(project):=20=EC=9E=91=EC=97=85=20?= =?UTF-8?q?=EC=84=A4=EB=AA=85=EB=9E=80=EC=9D=84=20=EC=95=84=EC=82=AC?= =?UTF-8?q?=EB=82=98=EC=B2=98=EB=9F=BC=20=ED=85=8C=EB=91=90=EB=A6=AC=20?= =?UTF-8?q?=EC=97=86=EC=9D=B4=20=EB=82=B4=EC=9A=A9=EB=A7=8C=ED=81=BC=20?= =?UTF-8?q?=EB=8A=98=EC=96=B4=EB=82=98=EA=B2=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - .pj-desc-editor: max-height 300px·내부 스크롤·테두리 제거 — 설명 길이대로 아래로 계속 늘어나고 스크롤은 작업 창 전체가 한다 - 음수 여백으로 글자를 다른 칸과 같은 왼쪽 끝에 맞춰 가로 폭 전부 사용, 마우스를 올리거나 입력 중일 때만 옅은 바탕 - 정적 파일 버전 20260926p Co-Authored-By: Claude Opus 5.5 --- app/modules/project/templates/project/help.html | 4 ++-- app/modules/project/templates/project/inbox.html | 4 ++-- app/modules/project/templates/project/mytasks.html | 4 ++-- app/modules/project/templates/project/project.html | 4 ++-- app/modules/project/templates/project/trash.html | 4 ++-- app/static/project.css | 12 +++++++++--- 6 files changed, 19 insertions(+), 13 deletions(-) diff --git a/app/modules/project/templates/project/help.html b/app/modules/project/templates/project/help.html index 628c4b5..09f7615 100644 --- a/app/modules/project/templates/project/help.html +++ b/app/modules/project/templates/project/help.html @@ -1,8 +1,8 @@ {% extends "erp_base.html" %} {% block head_extra %} - - + + {% endblock %} diff --git a/app/modules/project/templates/project/inbox.html b/app/modules/project/templates/project/inbox.html index ab441e4..40066a7 100644 --- a/app/modules/project/templates/project/inbox.html +++ b/app/modules/project/templates/project/inbox.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -101,5 +101,5 @@ {% include "project/_side_modals.html" %} {% include "project/_member_tasks_modal.html" %} - + {% endblock %} diff --git a/app/modules/project/templates/project/mytasks.html b/app/modules/project/templates/project/mytasks.html index 43c1b75..d48f686 100644 --- a/app/modules/project/templates/project/mytasks.html +++ b/app/modules/project/templates/project/mytasks.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -100,5 +100,5 @@ "today": {{ today | tojson }} } - + {% endblock %} diff --git a/app/modules/project/templates/project/project.html b/app/modules/project/templates/project/project.html index 0f32cd5..e8d4ca0 100644 --- a/app/modules/project/templates/project/project.html +++ b/app/modules/project/templates/project/project.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + @@ -472,5 +472,5 @@ - + {% endblock %} diff --git a/app/modules/project/templates/project/trash.html b/app/modules/project/templates/project/trash.html index 820bef0..1067c1e 100644 --- a/app/modules/project/templates/project/trash.html +++ b/app/modules/project/templates/project/trash.html @@ -1,7 +1,7 @@ {% extends "erp_base.html" %} {% block head_extra %} - + {% endblock %} @@ -70,5 +70,5 @@ {% include "project/_side_modals.html" %} {% include "project/_member_tasks_modal.html" %} - + {% endblock %} diff --git a/app/static/project.css b/app/static/project.css index bfb93fb..ab42a71 100644 --- a/app/static/project.css +++ b/app/static/project.css @@ -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; }