fix:상세 모달 닫기 버튼 동작 수정

- data-close-modal 속성을 onclick="closeDetailModal()"로 변경
- X 버튼과 닫기 버튼이 정상적으로 모달을 닫도록 수정

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
pro
2026-01-31 11:48:30 +09:00
parent d6b3fa193a
commit 078e3ca60e

View File

@@ -30,7 +30,7 @@
</span>
</div>
</div>
<button type="button" data-close-modal class="text-gray-400 hover:text-gray-600">
<button type="button" onclick="closeDetailModal()" class="text-gray-400 hover:text-gray-600">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>
@@ -277,7 +277,7 @@ class="text-xs text-blue-600 hover:underline">다운로드</a>
<!-- 푸터 버튼 -->
<div class="mt-6 flex justify-end gap-3">
<button type="button" data-close-modal
<button type="button" onclick="closeDetailModal()"
class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition text-sm">
닫기
</button>