알림
|

댓글쓰기 버튼 더 위로 올리는 게 어떨까요?

페이지 정보

작성자 no_profile 벗님 106.♡.231.242
작성일 2024.07.04 09:39
83 조회
1 댓글
0 추천
글쓰기

본문

댓글쓰기 버튼이 아래 글 목록까지 내려가면 숨겨져 버리는데,

z-index 값을 높여서 상위로 띄우는 건 어떨까요?


<div id="float-comment" class="p-3 gap-2 mt-3" style="left: 935px; top: auto; right: auto; visibility: visible; z-index: 999; bottom: 5px !important; padding-right: 2.2rem !important;">
<button id="comment-write-button" data-bs-toggle="offcanvas" data-bs-target="#commentOffcanvas" aria-controls="commentOffcanvas" class="d-none"></button>
<button class="btn btn-primary btn-sm" style="width:95px" data-bs-toggle="offcanvas" data-bs-target="#commentOffcanvas" aria-controls="commentOffcanvas" onclick="comment_box('','w','산다는건');">
<i class="bi bi-pencil-square"></i>
댓글 등록
</button>
</div>

댓글 1 / 1 페이지

우주대괴수b님의 댓글

작성자 우주대괴수b (210.♡.207.4)
작성일 07.04 09:40
굳이 이 방식을 유지하려면 글 목록까지 스크롤해도 버튼 유지되게 해주시는게 좋지 않을까 싶긴 하네요.
글이 짧거나 댓글이 얼마 없으면 스크롤 한번 쓱해도 버튼이 사라져버리니 버튼이랑 숨바꼭질 하게 되네요;;
글쓰기
전체 검색