-
Notifications
You must be signed in to change notification settings - Fork 12
week3 #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
week3 #30
Conversation
iubns
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다.
| id:4, | ||
| who:"me", | ||
| message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id 값이 고정으로 들어가서 중복이 되네요.
변수로 빼서 새로운 채팅내역이 생길때 ++ 하여 넣어줘야 할거 같습니다.
| <div className={mainstyles["chat-box"]}> | ||
| <div className={mainstyles["message"]}> | ||
| <div className={mainstyles["user"]}>멋사 프론트엔드 홍지연</div> | ||
| <div className={mainstyles["text"]}>안녕하세요!</div> | ||
| </div> | ||
| <div className={mainstyles["my"] + ' ' + mainstyles["message"]}> | ||
| <div className={mainstyles["my"] + ' ' + mainstyles["text"]}>처음뵙겠습니다!</div> | ||
| </div> | ||
| <div className={mainstyles["message"]}> | ||
| <div className={mainstyles["user"]}>멋사 운영진 조건희</div> | ||
| <div className={mainstyles["text"]}>반갑습니다!</div> | ||
| </div> | ||
| <div className={mainstyles["message"]}> | ||
| <div className={mainstyles["user"]}>멋사 운영진 이은정</div> | ||
| <div className={mainstyles["text"]}>만나서 반가워요 여러분!</div> | ||
| </div> | ||
| <div className={mainstyles["message"]}> | ||
| <div className={mainstyles["user"]}>멋사 백엔드 김재환</div> | ||
| <div className={mainstyles["text"]}>저희 잘해봐요!</div> | ||
| </div> | ||
| <div className={mainstyles["message"]}> | ||
| <div className={mainstyles["user"]}>멋사 백엔드 재빈</div> | ||
| <div className={mainstyles["text"]}>열심히 해보겠습니다!</div> | ||
| </div> | ||
| <div className={mainstyles["message"]}> | ||
| <div className={mainstyles["user"]}>멋사 운영진 조건희</div> | ||
| <div className={mainstyles["text"]}>저희 회의는 언제가 좋을까요?</div> | ||
| </div> | ||
| <div className={mainstyles["my"] + ' ' + mainstyles["message"]}> | ||
| <div className={mainstyles["my"] + ' ' + mainstyles["text"]}>오늘은 어떠세요??</div> | ||
| </div> | ||
| <div className={mainstyles["message"]}> | ||
| <div className={mainstyles["user"]}>멋사 운영진 이은정</div> | ||
| <div className={mainstyles["text"]}>넵!! 좋아요!!</div> | ||
| </div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요 부분은 지우면 좋을거 같습니다.
만약 채팅 내역으로 보이게 하고 싶으시다면 chat 배열 안에 넣어서 초기화 하면 좋을거 같아요
| .search__icons{ | ||
| display:flex; | ||
| margin-right: -110px; | ||
| width: 18px; | ||
|
|
||
| } | ||
|
|
||
| .menu__icons{ | ||
| display:flex; | ||
| margin: top 1px; | ||
| margin-right: 2px; | ||
| width: 18px; | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
언더바를 쓸지
| .chat-box { | ||
| display: flex; | ||
| flex-direction: column; | ||
| overflow-y: scroll; | ||
| height: 100%; | ||
| padding: 10px; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
하이픈을 쓸지 결정하시기 바랍니다.
|
충돌 해결해주세요!! |
No description provided.