A platform for community discussion. Free, open, simple.
DEV: Remove unnecessary element. (#15225)
Alan Guo Xiang Tane668b3dc71bc
diff --git a/app/assets/javascripts/discourse/app/widgets/post.js b/app/assets/javascripts/discourse/app/widgets/post.jsindex 2585a75346e..ca41e8eabed 100644--- a/app/assets/javascripts/discourse/app/widgets/post.js+++ b/app/assets/javascripts/discourse/app/widgets/post.js@@ -198,10 +198,7 @@ createWidget("post-avatar", {}}- const result = [- h("div.post-avatar", postAvatarBody),- h("div.poster-avatar-extra"),- ];+ const result = [h("div.post-avatar", postAvatarBody)];if (this.settings.displayPosterName) {result.push(this.attach("post-avatar-user-info", attrs));diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scssindex 86771addd8e..4e5a599ba44 100644--- a/app/assets/stylesheets/common/base/topic-post.scss+++ b/app/assets/stylesheets/common/base/topic-post.scss@@ -715,9 +715,6 @@ aside.quote {font-size: $font-down-2;}}-.topic-avatar .poster-avatar-extra {- display: none;-}.map {&:first-of-type {