Skip to content

Commit

Permalink
fix chat word break
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-sz committed Sep 22, 2023
1 parent 3062632 commit 9924a45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/screens/Home.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
.home {
display: grid;
grid-gap: 15px;
grid-template-columns: 3fr 2fr;
grid-template-columns: 1fr 50%;
}
}

@media screen and (min-width: 1200px) {
.home {
grid-template-columns: minmax(0, 2fr) 1fr;
grid-template-columns: 1fr 33.3%;
}
}
3 changes: 3 additions & 0 deletions web/src/sections/Chat/ChatItem.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
.message {
position: relative;
white-space: pre-wrap;
word-wrap: break-word;
max-height: 50px;
overflow: hidden;

a {
display: inline;
white-space: unset;
font-weight: bold;
}
}
Expand Down

0 comments on commit 9924a45

Please sign in to comment.