From 7eae946b9ab6ca317373d70f088498720002f2b8 Mon Sep 17 00:00:00 2001 From: Harry Wood Date: Mon, 27 Jun 2022 13:03:39 +0100 Subject: [PATCH] Move note reporting link to bottom of the sidebar Move the 'report this note' and surrounding sentence down the sidebar beneath the commont/resolve form to give it less prominence. --- app/assets/stylesheets/common.scss | 4 ++++ app/views/browse/note.html.erb | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 1f80a9b5b..cd3ae4889 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -841,6 +841,10 @@ tr.turn:hover { } } + form.note-comment-resolve { + margin: 10px 0px 40px 0px; + } + .subscribe-buttons input { font-size: 90%; line-height: 15px; diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 24240d6df..0706dbb46 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -28,10 +28,6 @@

<%= t "javascripts.notes.show.anonymous_warning" %>

<% end -%> - <% if current_user && current_user != @note.author %> -

<%= t "javascripts.notes.show.report_link_html", :link => report_link(t(".report"), @note) %>

- <% end %> - <% if @note_comments.length > 1 %>
-- 2.39.5