Replace top margin on comments with bottom padding on diary posts
This commit is contained in:
parent
e5ce6ffbb8
commit
8efc15ea7a
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
<article class='diary_post border-top border-grey pt-3 pb-2<%= " text-muted px-3 bg-danger bg-opacity-10" unless diary_entry.visible %> user_<%= diary_entry.user.id %>'>
|
||||
<article class='diary_post border-top border-grey py-3<%= " text-muted px-3 bg-danger bg-opacity-10" unless diary_entry.visible %> user_<%= diary_entry.user.id %>'>
|
||||
<div class='mb-3'>
|
||||
<% if @user %>
|
||||
<h2><%= link_to diary_entry.title, diary_entry_path(diary_entry.user, diary_entry) %></h2>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<%= render @entry %>
|
||||
|
||||
<div id="comments" class="comments mt-2">
|
||||
<div id="comments" class="comments">
|
||||
<%= render :partial => "diary_comment", :collection => @comments %>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue