From 7c7c04f8dc5ab5309002a644e468211cf1e5fe5a Mon Sep 17 00:00:00 2001 From: kent Date: Tue, 2 Dec 2025 00:11:57 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=85=8C=EB=84=8C=ED=8A=B8=20=EB=AA=A8?= =?UTF-8?q?=EB=8B=AC=20=ED=95=98=EB=8B=A8=20=EB=B2=84=ED=8A=BC=20=ED=94=8C?= =?UTF-8?q?=EB=A1=9C=ED=8C=85=20=EA=B3=A0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 닫기/수정 버튼을 모달 하단에 고정 (flex-shrink-0) - 콘텐츠 스크롤 시에도 버튼 항상 표시 - 기존 modal-info 내부 버튼 제거 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- public/js/tenant-modal.js | 10 ++++++++++ .../views/components/tenant-modal.blade.php | 16 ++++++++++++++++ .../views/tenants/partials/modal-info.blade.php | 13 ------------- 3 files changed, 26 insertions(+), 13 deletions(-) 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