Browse Source

CSS fix: prevent zalgo text from going out of vertical bounds

(previous commit didn't work properly it seems)
JC Brand 2 years ago
parent
commit
3720092c09
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/shared/styles/messages.scss

+ 3 - 1
src/shared/styles/messages.scss

@@ -165,6 +165,9 @@
                 flex-direction: column;
                 width: 100%;
                 overflow-wrap: break-word;
+                span {
+                    overflow-y: hidden;
+                }
             }
 
             .chat-msg__edit-modal {
@@ -183,7 +186,6 @@
                 white-space: pre-wrap;
                 word-wrap: break-word;
                 word-break: break-word;
-                overflow-y: hidden;
                 a {
                     word-wrap: break-word;
                     word-break: break-all;