diff --git a/public/js/tenant-modal.js b/public/js/tenant-modal.js index 8cabbaee..e755fab5 100644 --- a/public/js/tenant-modal.js +++ b/public/js/tenant-modal.js @@ -56,6 +56,11 @@ const TenantModal = { this.modalElement.classList.add('hidden'); document.body.style.overflow = ''; } + // 푸터 숨기기 + const footer = document.getElementById('tenant-modal-footer'); + if (footer) { + footer.classList.add('hidden'); + } this.currentTenantId = null; }, @@ -86,6 +91,11 @@ const TenantModal = { if (content) { content.innerHTML = data.html; } + // 푸터 표시 + const footer = document.getElementById('tenant-modal-footer'); + if (footer) { + footer.classList.remove('hidden'); + } // 구독정보 탭 자동 로드 this.currentTab = ''; // switchTab에서 early return 방지 await this.switchTab('subscription'); diff --git a/resources/views/components/tenant-modal.blade.php b/resources/views/components/tenant-modal.blade.php index 864c11fe..deba4a06 100644 --- a/resources/views/components/tenant-modal.blade.php +++ b/resources/views/components/tenant-modal.blade.php @@ -34,6 +34,22 @@ class="text-gray-400 hover:text-gray-600 transition-colors"> + {{-- 모달 푸터 (하단 고정) --}} + + \ No newline at end of file diff --git a/resources/views/tenants/partials/modal-info.blade.php b/resources/views/tenants/partials/modal-info.blade.php index 3886bfc6..3c92d193 100644 --- a/resources/views/tenants/partials/modal-info.blade.php +++ b/resources/views/tenants/partials/modal-info.blade.php @@ -166,17 +166,4 @@ class="px-4 py-2 text-sm font-medium border-b-2 border-transparent text-gray-500 - {{-- 하단 버튼 --}} -
- - -
\ No newline at end of file