Skip to content

Commit c3e2f27

Browse files
committed
커뮤니티 상세페이지 마크업 및 다크모드 대응
1 parent fbc4948 commit c3e2f27

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

src/components/community/PostDetail.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292

9393
/* 답변 영역 */
9494
.answer-form {
95-
margin-top: 40px;
95+
margin-top: 15px;
9696
}
9797

9898
.answer-form input {
@@ -103,6 +103,12 @@
103103
font-size: 14px;
104104
}
105105

106+
.answer-title {
107+
font-size: 16px; /* ⬅️ 좀 더 작게 */
108+
font-weight: 600;
109+
color: #333;
110+
}
111+
106112
.empty-comment {
107113
text-align: center;
108114
margin-top: 40px;

src/components/community/PostDetail.jsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,14 @@ export default function PostDetail() {
4848
<button className="link-btn">🔗</button>
4949
</div>
5050
<div className="section-divider" />
51-
<div className="answer-form">
52-
<input type="text" placeholder="답변을 작성해보세요." />
51+
<div className="answer-section">
52+
<h3 className="answer-title">답변</h3>
53+
<div className="answer-form">
54+
<input type="text" placeholder="답변을 작성해보세요." />
55+
</div>
5356
</div>
5457

58+
5559
<div className="empty-comment">
5660
<img src="/empty-comment.png" alt="답변 없음" />
5761
<p className="comment-title">답변을 기다리고 있는 질문이에요</p>

0 commit comments

Comments
 (0)