A platform for community discussion. Free, open, simple.
FIX: only use mention styling for valid mentions in chat (#25523)
Andrei Prigorshnev657eba4782fb
diff --git a/plugins/chat/assets/stylesheets/common/chat-message.scss b/plugins/chat/assets/stylesheets/common/chat-message.scssindex 230808baa62..83b6331bbd1 100644--- a/plugins/chat/assets/stylesheets/common/chat-message.scss+++ b/plugins/chat/assets/stylesheets/common/chat-message.scss@@ -70,7 +70,7 @@width: 100%;}- .mention {+ a.mention {@include mention;&.highlighted {@@ -78,6 +78,11 @@}}+ // unlinked, invalid mention+ span.mention {+ color: var(--primary-high);+ }+// Automatic aspect-ratio mapping https://developer.mozilla.org/en-US/docs/Web/Media/images/aspect_ratio_mappingp img:not(.emoji) {max-width: 100%;