fix(project): 업무 편집 버튼 바 세로 스크롤 버그 수정 + 제목 세로 중앙 정렬

- overflow-x:auto + overflow-y:visible 조합이 브라우저에서 visible도
  auto로 취급되는 문제로 세로 스크롤바가 생겼던 것을 수정 — 바 높이를
  28px로 늘리고 overflow-y:hidden으로 명확히 지정해 모든 버튼이 안 잘리고
  세로 가운데 정렬되게 함
- 큰 제목 입력칸을 height/line-height로 맞춰 텍스트가 그 줄 안에서
  세로 가운데에 오도록 조정

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-22 17:24:12 +09:00
parent 4ce3ac10a5
commit 933e1cd460
4 changed files with 17 additions and 13 deletions
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260922n" />
<link rel="stylesheet" href="/static/project.css?v=20260922o" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -93,5 +93,5 @@
</div>
</div>
<script src="/static/project.js?v=20260922n" defer></script>
<script src="/static/project.js?v=20260922o" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260922n" />
<link rel="stylesheet" href="/static/project.css?v=20260922o" />
<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=20260922n" defer></script>
<script src="/static/project.js?v=20260922o" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260922n" />
<link rel="stylesheet" href="/static/project.css?v=20260922o" />
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<!-- 타임라인 vis-timeline — self-host -->
@@ -466,5 +466,5 @@
</script>
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
<script src="/static/project.js?v=20260922n" defer></script>
<script src="/static/project.js?v=20260922o" defer></script>
{% endblock %}
+11 -7
View File
@@ -450,10 +450,12 @@
.pj-modal-hint { margin: -6px 0 14px; font-size: 12px; color: #6b7280; }
/* 업무 편집 팝업 — 아사나식 레이아웃. 버튼 줄 바로 아래 큰 무테 제목
입력칸 하나뿐(작은 안내줄은 없앰) — 여백을 줄여 공간을 아낀다. */
입력칸 하나뿐(작은 안내줄은 없앰). height+line-height 를 맞춰 그 줄
안에서 글자가 세로 가운데에 오도록 한다(한 줄짜리 input 표준 기법). */
.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 8px !important;
height: 40px; line-height: 40px; font-size: 19px !important; font-weight: 700;
padding: 0 4px !important; margin: 2px 0 10px !important;
color: var(--pj-ink); box-sizing: border-box;
}
.pj-t-title-input:focus { outline: none; background: #f6f7f8 !important; border-radius: 8px; }
@@ -489,15 +491,17 @@
/* 업무 편집 팝업은 버튼 줄이 맨 위에 고정이다 — 설명/하위업무가 길어도
스크롤하지 않고 저장·취소할 수 있다. 카드는 padding 22px 을 가진 스크롤
컨테이너라, 좌우로 음수 마진을 줘 카드 폭을 꽉 채우고 sticky 로
고정한다. 높이를 24px 로 바짝 낮춰(줄바꿈 금지) 카드 맨 위 모서리에 딱
붙이고, 버튼은 세로 가운데 정렬한다 — 버튼이 다 안 들어가면 가로
스크롤(overflow-y 는 visible 로 둬서 세로로 안 잘린다). */
고정한다. 버튼을 세로 가운데 정렬한다 — 버튼이 다 안 들어가면 가로
스크롤. (주의: overflow-x 와 overflow-y 를 하나만 auto/hidden 으로 두고
나머지를 visible 로 두면 브라우저가 visible 쪽도 auto 로 취급해 세로
스크롤바가 생긴다 — 그래서 두 축 다 명시하고, 아이콘 버튼(24px)+테두리가
다 들어가도록 바 높이에 여유를 둔다.) */
.pj-modal-actions-top {
position: sticky; top: 0; z-index: 3; flex: none;
height: 24px; box-sizing: border-box; align-items: center;
height: 28px; box-sizing: border-box; align-items: center;
margin: -22px -22px 14px; padding: 0 22px;
background: #fff; border-bottom: 1px solid #eef0f2;
flex-wrap: nowrap; overflow-x: auto; overflow-y: visible;
flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
}
.pj-modal-actions-top .pj-btn { flex: none; padding: 3px 8px; font-size: 11px; }
.pj-btn-complete { background: #e9f7ef; color: #1e8e5a; border: 1px solid #bfe8d2; font-weight: 700; }