Set the word-break to break-word for the message-class, and removed the max-width again

As said by SaptakS, I applied the word-break to the message-Class. Since this breaks the line for long words without Spaces, as well as longer sentences, this is the better solution.
Since the max-width now is redundant, it got removed again, as to not cause any future confusion.
This commit is contained in:
BotMaster3000 2021-06-07 22:29:40 +02:00
parent 5c4558ace5
commit a509bbae5b

View File

@ -202,7 +202,6 @@ ul.breadcrumbs li a:link, ul.breadcrumbs li a:visited {
}
.chat-wrapper {
max-width: 80%;
display: flex;
flex-direction: column;
flex: 1;
@ -230,6 +229,7 @@ ul.breadcrumbs li a:link, ul.breadcrumbs li a:visited {
display: block;
}
.chat-wrapper .message {
word-break: break-word;
font-weight: normal;
display: block;
margin-bottom: 0.3em;