fix: [문서양식] 기본정보 탭일 때 sticky 요약행 숨김 (중복 제거)
This commit is contained in:
@@ -53,8 +53,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 기본정보 1행 (항상 표시) -->
|
||||
<div class="bg-white rounded-t-lg shadow-sm px-4 py-3 border-b border-gray-100">
|
||||
<!-- 기본정보 1행 (기본정보 탭 외에서만 표시) -->
|
||||
<div id="sticky-summary-row" class="bg-white rounded-t-lg shadow-sm px-4 py-3 border-b border-gray-100" style="display:none">
|
||||
<div class="grid gap-3 items-end" style="grid-template-columns:4fr 4fr 1fr 1fr">
|
||||
<div>
|
||||
<label class="block text-xs font-medium text-gray-500 mb-1">양식명 <span class="text-red-500">*</span></label>
|
||||
@@ -680,6 +680,12 @@ function switchTab(tabId) {
|
||||
});
|
||||
// 선택된 컨텐츠 표시
|
||||
document.getElementById(`content-${tabId}`).classList.remove('hidden');
|
||||
|
||||
// 기본정보 탭일 때 sticky 요약행 숨김 (중복 방지)
|
||||
const stickyRow = document.getElementById('sticky-summary-row');
|
||||
if (stickyRow) {
|
||||
stickyRow.style.display = tabId === 'basic' ? 'none' : '';
|
||||
}
|
||||
}
|
||||
|
||||
// ===== 결재라인 =====
|
||||
|
||||
Reference in New Issue
Block a user