Refine project navigation and balance calculation behavior

This commit is contained in:
b17301
2026-04-29 20:45:55 +09:00
parent 7afd2680d3
commit 9466f9a6ab
4 changed files with 74 additions and 11 deletions
+37 -7
View File
@@ -511,6 +511,34 @@
align-items: center;
}
.pc-related-head {
align-items: center;
justify-content: space-between;
gap: 10px;
}
.pc-related-head-main {
display: flex;
align-items: center;
gap: 10px;
flex: 1 1 auto;
min-width: 0;
flex-wrap: wrap;
}
.pc-related-form.pc-related-form--inline {
display: flex;
align-items: center;
gap: 8px;
flex: 1 1 460px;
min-width: 0;
}
.pc-related-form.pc-related-form--inline input[type="text"] {
flex: 1 1 260px;
min-width: 180px;
}
.pc-related-list {
border: 1px solid var(--line);
border-radius: 10px;
@@ -884,8 +912,15 @@
</div>
<section class="pc-collapse is-first" id="pcRelatedSection">
<div class="pc-collapse-head">
<h3>연계 프로젝트</h3>
<div class="pc-collapse-head pc-related-head">
<div class="pc-related-head-main">
<h3>연계 프로젝트</h3>
<div class="pc-related-form pc-related-form--inline">
<input type="text" id="relatedSearchInput" placeholder="추가할 프로젝트 코드/명 검색" {% if not process_cost_selected_code %}disabled{% endif %}>
<button type="button" class="button-secondary" id="relatedSaveButton" {% if not process_cost_selected_code %}disabled{% endif %}>저장</button>
<button type="button" class="button-secondary" id="relatedResetButton" {% if not process_cost_selected_code %}disabled{% endif %}>초기화</button>
</div>
</div>
<button type="button" class="pc-collapse-toggle" data-collapse-target="pcRelatedSection" aria-label="연계 프로젝트 접기">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M6 15l6-6 6 6"></path>
@@ -904,11 +939,6 @@
</span>
{% endfor %}
</div>
<div class="pc-related-form">
<input type="text" id="relatedSearchInput" placeholder="추가할 프로젝트 코드/명 검색" {% if not process_cost_selected_code %}disabled{% endif %}>
<button type="button" class="button-secondary" id="relatedSaveButton" {% if not process_cost_selected_code %}disabled{% endif %}>저장</button>
<button type="button" class="button-secondary" id="relatedResetButton" {% if not process_cost_selected_code %}disabled{% endif %}>초기화</button>
</div>
<div class="pc-related-list" id="relatedSuggestList"></div>
</div>
</section>