From c0b21bf9cff467a72a421f53621a2bb5018daf06 Mon Sep 17 00:00:00 2001 From: Andrei Prigorshnev Date: Thu, 22 Dec 2022 14:15:52 +0400 Subject: [PATCH] FIX: styles of user status on mentions (#19563) Reported in https://meta.discourse.org/t/users-mentions-wrongly-show-their-status-with-the-emoji/249534. The problem was that we had styles for user status on mentions in the calendar plugin. So it looked fine on sites with Discourse Calendar but not on sites without it. --- app/assets/stylesheets/common/base/topic-post.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 3f7cb8fc0d9..6e5c0c42882 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -1248,6 +1248,12 @@ a.mention-group { @include mention; } +.mention .emoji { + margin-left: 0.3em; + width: 15px; + height: 15px; +} + span.mention { // unlinked, invalid mention color: var(--primary-high);