fix(modal): 모달 닫기·프로젝트 삭제 동작 + 세로 가운데 정렬
- 모달 오버레이 마커를 data-open-id → data-open-pid 로 변경 (열기 감지 셀렉터 [data-open-id] 와 충돌해 모달 내부 클릭이 닫기/삭제 대신 모달 재오픈으로 잡히던 문제) - .modal/.share-modal 에 margin:auto → 짧으면 정중앙, 길면 스크롤 - 프로젝트 삭제 버튼 앞에 휴지통 아이콘 추가 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
<% if (p.owner_sabun === me) { %>
|
||||
<form method="post" action="/projects/<%= p.id %>/delete" style="margin-left:auto">
|
||||
<input type="hidden" name="return_to" value="/" />
|
||||
<button type="submit" class="comment-link comment-del" data-confirm="이 프로젝트를 삭제할까요? 댓글·반응도 함께 삭제됩니다." style="font-size:12.5px">프로젝트 삭제</button>
|
||||
<button type="submit" class="comment-link comment-del" data-confirm="이 프로젝트를 삭제할까요? 댓글·반응도 함께 삭제됩니다." style="font-size:12.5px"><%- icon("trash", { size: 13 }) %>프로젝트 삭제</button>
|
||||
</form>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user