Use standard bootstrap spacers, rather than custom css, to space out the elements

Also make the reporting text small, since it's not required reading in most circumstances.
This commit is contained in:
Andy Allan 2022-08-03 18:25:22 +01:00
parent 7eae946b9a
commit c185ef2598
2 changed files with 3 additions and 7 deletions

View file

@ -841,10 +841,6 @@ tr.turn:hover {
}
}
form.note-comment-resolve {
margin: 10px 0px 40px 0px;
}
.subscribe-buttons input {
font-size: 90%;
line-height: 15px;

View file

@ -43,7 +43,7 @@
<% if @note.status == "open" %>
<% if current_user -%>
<form class="note-comment-resolve" action="#">
<form class="mb-3" action="#">
<div class="mb-3">
<textarea class="form-control" name="text" cols="40" rows="5" maxlength="2000"></textarea>
</div>
@ -57,7 +57,7 @@
</form>
<% end -%>
<% else %>
<form class="note-comment-resolve" action="#">
<form class="mb-3" action="#">
<input type="hidden" name="text" value="" autocomplete="off">
<div class="btn-wrapper">
<% if current_user and current_user.moderator? -%>
@ -71,6 +71,6 @@
<% end %>
<% if current_user && current_user != @note.author %>
<p class="text-muted"><%= t "javascripts.notes.show.report_link_html", :link => report_link(t(".report"), @note) %></p>
<p><small class="text-muted"><%= t "javascripts.notes.show.report_link_html", :link => report_link(t(".report"), @note) %></small></p>
<% end %>
</div>