Merge pull request #5 from TeamBNBN/fe/articleDetailAnswer
feat: articleDetailAnswer 추가
This commit is contained in:
commit
e416c14540
@ -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>
|
||||
</>
|
||||
)
|
||||
}
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user