Skip to content

A platform for community discussion. Free, open, simple.

UX: use mention mixin for chat mentions (#24319)

Krise69f93e72909
diff --git a/plugins/chat/assets/stylesheets/common/chat-message.scss b/plugins/chat/assets/stylesheets/common/chat-message.scss
index 458c7a04e3e..84ff508091f 100644
--- a/plugins/chat/assets/stylesheets/common/chat-message.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-message.scss
@@ -67,14 +67,9 @@
}
.mention.highlighted {
+ @include mention;
background: var(--tertiary-low);
color: var(--primary);
- display: inline-block;
- font-size: 0.93em;
- font-weight: normal;
- padding: 0 0.3em 0.07em;
- border-radius: 0.6em;
- text-decoration: none;
}
// Automatic aspect-ratio mapping https://developer.mozilla.org/en-US/docs/Web/Media/images/aspect_ratio_mapping