A platform for community discussion. Free, open, simple.
DEV: Add showLogin action to post menu buttons and prevent text selection (#30500)
Sérgio Saquetimb728b74c4906
diff --git a/app/assets/javascripts/discourse/app/components/post/menu.gjs b/app/assets/javascripts/discourse/app/components/post/menu.gjsindex 5a64d3b4ea3..ff041f85f9d 100644--- a/app/assets/javascripts/discourse/app/components/post/menu.gjs+++ b/app/assets/javascripts/discourse/app/components/post/menu.gjs@@ -113,6 +113,7 @@ export default class PostMenu extends Component {showDeleteTopicModal: this.showDeleteTopicModal,showFlags: this.args.showFlags,showMoreActions: this.showMoreActions,+ showLogin: this.args.showLogin,toggleReplies: this.args.toggleReplies,toggleWhoLiked: this.toggleWhoLiked,toggleWhoRead: this.toggleWhoRead,diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scssindex ab359613e94..c4b39a443f5 100644--- a/app/assets/stylesheets/common/base/topic-post.scss+++ b/app/assets/stylesheets/common/base/topic-post.scss@@ -314,6 +314,8 @@ nav.post-controls {color: var(--primary-low-mid);+ @include user-select(none);+.actions {display: inline-flex;text-align: right;