Merge pull request #5 from TeamBNBN/fe/articleDetailAnswer

feat: articleDetailAnswer 추가
This commit is contained in:
Jo Hyeonsoo 2024-07-15 13:05:04 +09:00 committed by GitHub
commit e416c14540
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,16 @@
import styles from './ArticleDetailAnswer.module.css'
export default function ArticleDetailAnswer () {
return (
<>
<div className={styles.answer}>
<div className={styles.answerHeader}>
<div>--</div>
<div className={styles.author}>선생님의 답변</div>
</div>
<div className={styles.content}>Lorem ipsum dolor sit amet.</div>
</div>
</>
)
}

View File

@ -0,0 +1,25 @@
.answer {
border: 1px solid var(--border-color);
border-radius: 16px;
padding: 12px 16px;
}
.answerHeader {
display: flex;
flex-wrap: nowrap;
}
.content {
margin-top: 8px;
font-size: 16px;
font-weight: 300;
line-height: 1.4;
}
.author {
font-size: 14px;
font-weight: 200;
line-height: 1.4;
color: var(--text-color-secondary);
margin-left: 4px;
}