fix(project): 설명 서식 도구의 이미지 추가 아이콘만 위로 떠 있던 문제

이미지 추가 버튼은 파일 선택용 <label> 이라 팝업 공용 규칙
".pj-modal-card label"(display:block + margin-bottom:12px)이 버튼 모양을
덮어써 혼자 위로 올라가 있었다. label.pj-desc-fmtbtn 에서 inline-flex·
margin 0 등으로 되돌린다. 정적 파일 버전 20260926o.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-26 14:22:15 +09:00
parent e6c3d8c8cb
commit f265a59c3f
6 changed files with 16 additions and 11 deletions
@@ -1,8 +1,8 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260926n" />
<link rel="stylesheet" href="/static/project-help.css?v=20260926n" />
<link rel="stylesheet" href="/static/project.css?v=20260926o" />
<link rel="stylesheet" href="/static/project-help.css?v=20260926o" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260926n" />
<link rel="stylesheet" href="/static/project.css?v=20260926o" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -101,5 +101,5 @@
{% include "project/_side_modals.html" %}
{% include "project/_member_tasks_modal.html" %}
<script src="/static/project.js?v=20260926n" defer></script>
<script src="/static/project.js?v=20260926o" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260926n" />
<link rel="stylesheet" href="/static/project.css?v=20260926o" />
<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=20260926n" defer></script>
<script src="/static/project.js?v=20260926o" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260926n" />
<link rel="stylesheet" href="/static/project.css?v=20260926o" />
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<!-- 타임라인 vis-timeline — self-host -->
@@ -472,5 +472,5 @@
</script>
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
<script src="/static/project.js?v=20260926n" defer></script>
<script src="/static/project.js?v=20260926o" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260926n" />
<link rel="stylesheet" href="/static/project.css?v=20260926o" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -70,5 +70,5 @@
{% include "project/_side_modals.html" %}
{% include "project/_member_tasks_modal.html" %}
<script src="/static/project.js?v=20260926n" defer></script>
<script src="/static/project.js?v=20260926o" defer></script>
{% endblock %}
+6 -1
View File
@@ -993,7 +993,12 @@
/* 서식 도구 아이콘 — 전부 같은 글꼴·크기(20px). 줄 높이를 아이콘 크기에 딱 맞추고
버튼(26px) 가운데에 두면 모든 아이콘의 위·아래 끝이 한 줄로 맞는다(예전의 top:4px 밀기 제거). */
.pj-desc-fmtbtn .material-symbols-outlined { display: block; font-size: 20px; width: 20px; height: 20px; line-height: 20px; }
label.pj-desc-fmtbtn { line-height: normal; }
/* 이미지 추가 버튼만 <label>(파일 선택) — 팝업 공용 규칙 ".pj-modal-card label"(블록 + 아래 여백 12px)이
덮어써서 혼자 위로 떠 있었다. 같은 상세도로 뒤에서 다시 버튼 모양으로 되돌린다. */
label.pj-desc-fmtbtn {
display: inline-flex; align-items: center; justify-content: center; margin: 0;
line-height: normal; font-size: 13px; font-weight: 400; color: #444;
}
/* 설명란 체크박스(서식 도구 ☑) — 누르면 체크/해제, 체크 여부는 저장된다 */
.pj-desc-editor input[type="checkbox"] {
width: 15px; height: 15px; margin: 0 4px 0 1px; vertical-align: -2px; cursor: pointer;