From e30da104865f5eae6890240084e3bd5d2d936f0d Mon Sep 17 00:00:00 2001 From: Ty Correll Date: Fri, 15 Dec 2023 16:15:38 -0600 Subject: [PATCH] UX: fix overlap obstructed anon topic reply (#24927) --- app/assets/javascripts/discourse/app/templates/topic.hbs | 2 +- app/assets/stylesheets/common/base/topic-post.scss | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/templates/topic.hbs b/app/assets/javascripts/discourse/app/templates/topic.hbs index 638cc381ce1..bd43744cf23 100644 --- a/app/assets/javascripts/discourse/app/templates/topic.hbs +++ b/app/assets/javascripts/discourse/app/templates/topic.hbs @@ -543,7 +543,7 @@ @icon="reply" @action={{route-action "showLogin"}} @label="topic.reply.title" - class="btn-primary pull-right" + class="btn-primary" /> {{/if}} diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 89c1b190dd7..f9b18b138e6 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -1499,6 +1499,11 @@ span.mention { } } +html.anon #topic-footer-buttons { + display: flex; + justify-content: end; +} + #topic-footer-buttons { margin: var(--below-topic-margin) 0; padding: 0;