Skip to content

Commit

Permalink
fixed styles
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Damer committed Aug 23, 2021
1 parent c20c37d commit d8f0408
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions client/src/components/Chat/Chat.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
justify-content: space-between;
background: #ffffff;
border-radius: 8px;
height: 60%;
width: 35%;
height: 80%;
width: 60%;
}

@media (min-width: 320px) and (max-width: 480px) {
Expand All @@ -29,6 +29,6 @@

@media (min-width: 480px) and (max-width: 1200px) {
.chat__container {
width: 60%;
width: 80%;
}
}
4 changes: 2 additions & 2 deletions client/src/components/Messages/Message/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Message = ({ message: { user, text }, name }) => {
}

return isSentByCurrentUser ? (
<div className="meesageContainer justifyEnd">
<div className="messageContainer justifyEnd">
<p className="sentText pr-10">{trimName}</p>
<div className="messageBox backgroundBlue">
<p className="messageText">
Expand All @@ -20,7 +20,7 @@ const Message = ({ message: { user, text }, name }) => {
</div>
</div>
) : (
<div className="meesageContainer justifyStart">
<div className="messageContainer justifyStart">
<div className="messageBox backgroundLight">
<p className="messageText colorDark">
{ReactEmoji.emojify(text)}
Expand Down

0 comments on commit d8f0408

Please sign in to comment.