Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-06-16 20:23:31 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
009dc94c75084e6fcae4c48c9778e95aaeaa6db4
009dc94c
1 parent
0f3fe067
update ChatPresenter
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
front/src/Routes/Chat/ChatPresenter.js
front/src/Routes/Chat/ChatPresenter.js
View file @
009dc94
...
...
@@ -107,28 +107,38 @@ const ChatScreenBox = styled.div`
}
`
;
const
InputWrapper
=
styled
.
div
`
width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
`
;
const
InputContainer
=
styled
.
div
`
position: fixed;
bottom: 0;
justify-content: center;
align-items: center;
width:
7
0%;
margin
: 1
0px;
width:
5
0%;
margin
-bottom: 2
0px;
display: flex;
flex-direction: row;
background-color: #b2bec3;
border: none;
form {
width: 100%;
button {
background-color: #27ae60;
width:
1
0%;
width:
2
0%;
color: white;
border-radius: 10px;
}
input {
background-color: #b2bec3;
width: 70%;
}
}
border: 1px solid rgba(0, 0, 0, 0.7);
border-radius: 10px;
`
;
...
...
@@ -188,6 +198,7 @@ export default ({
avatar
=
{
e
.
sender
.
avatarUrl
}
/
>
))}
<
InputWrapper
>
<
InputContainer
className
=
"InputContainer"
>
<
form
onSubmit
=
{
onSubmit
}
>
<
Input
...
...
@@ -198,6 +209,7 @@ export default ({
<
Button
text
=
{
"Submit"
}
/
>
<
/form
>
<
/InputContainer
>
<
/InputWrapper
>
<
/ChatScreenBox
>
<
/ChatScreenContainer
>
<
/ChatWrapper
>
...
...
Please
register
or
login
to post a comment