From 66eabd67af24e4f9704d8bcc21877f49ff63f9de Mon Sep 17 00:00:00 2001 From: n9k Date: Wed, 9 Mar 2022 03:38:05 +0000 Subject: [PATCH] CSS: add `overflow: hidden;` to chat messages Stops messages being able to obscure other messages with weird unicode characters. --- anonstream/static/style.css | 1 + anonstream/templates/nojs_chat_messages.html | 1 + 2 files changed, 2 insertions(+) diff --git a/anonstream/static/style.css b/anonstream/static/style.css index 3ffd920..7e87a23 100644 --- a/anonstream/static/style.css +++ b/anonstream/static/style.css @@ -188,6 +188,7 @@ noscript { width: 100%; box-sizing: border-box; border-radius: 4px; + overflow: hidden; } .chat-message:hover { background-color: #434347; diff --git a/anonstream/templates/nojs_chat_messages.html b/anonstream/templates/nojs_chat_messages.html index 8f291df..e9e95ce 100644 --- a/anonstream/templates/nojs_chat_messages.html +++ b/anonstream/templates/nojs_chat_messages.html @@ -98,6 +98,7 @@ box-sizing: border-box; border-radius: 4px; transform: rotate(-180deg); + overflow: hidden; } .chat-message:hover { background-color: #434347;