From 98ec4af3277ab9db526473a8d0601974fc4c3fa7 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Wed, 10 Apr 2024 01:44:37 +0200 Subject: [PATCH] FIX: Add the ident to fix user status styling in posts (#26585) --- .../javascripts/discourse/app/lib/user-status-message.js | 1 + .../stylesheets/common/components/user-status-message.scss | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/app/lib/user-status-message.js b/app/assets/javascripts/discourse/app/lib/user-status-message.js index 007078a3dc9..7100c3adcd5 100644 --- a/app/assets/javascripts/discourse/app/lib/user-status-message.js +++ b/app/assets/javascripts/discourse/app/lib/user-status-message.js @@ -16,6 +16,7 @@ export class UserStatusMessage { this.html = this.#statusHtml(status, opts); this.content = this.#tooltipHtml(status); this.tooltipInstance = this.tooltip.register(this.html, { + identifier: "user-status-message-tooltip", content: this.content, }); } diff --git a/app/assets/stylesheets/common/components/user-status-message.scss b/app/assets/stylesheets/common/components/user-status-message.scss index f3107865f8c..ed739527092 100644 --- a/app/assets/stylesheets/common/components/user-status-message.scss +++ b/app/assets/stylesheets/common/components/user-status-message.scss @@ -1,7 +1,4 @@ [data-content][data-identifier="user-status-message-tooltip"] { - display: flex; - align-items: center; - .emoji { width: 1em; height: 1em;