Skip to content

Commit

Permalink
Can now show line breaks in chat and emails (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsproston-scottlogic committed Aug 14, 2023
1 parent 982a577 commit 6b4efcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/src/components/ChatBox/ChatBoxMessage.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
white-space: pre-wrap;
word-wrap: break-word;
}

Expand Down Expand Up @@ -47,7 +48,7 @@
}

.chat-box-message-preamble {
float: right;
margin-left: auto;
background-color: rgb(255, 255, 230);
float: right;
margin-left: auto;
background-color: rgb(255, 255, 230);
}
1 change: 1 addition & 0 deletions frontend/src/components/EmailBox/SentEmail.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
font-size: 14px;
margin-top: 10px;
padding: 5px;
white-space: pre-wrap;
}

.sent-email-divider {
Expand Down

0 comments on commit 6b4efcd

Please sign in to comment.