height: 400px;
display: none;
}
- .comments {
- max-width: 740px;
+ .diary-comment .col-auto {
+ width: 62px;
}
- .diary-comment {
- border-top: 1px dashed $grey;
- &:first-child {
- border-top: 1px solid $grey;
- }
+ .diary-comment .col {
+ max-width: 690px;
}
}
-<div class="row diary-comment py-3<%= " text-muted bg-danger bg-opacity-10" unless diary_comment.visible? %>">
- <div class="col-auto">
+<div class="row diary-comment border-bottom py-3<%= " text-muted bg-danger bg-opacity-10" unless diary_comment.visible? %>">
+ <div class="col-auto pe-0 text-center">
<%= user_thumbnail diary_comment.user %>
</div>
<div class="col">
<%= render @entry %>
-<div id="comments" class="comments">
- <div class="row">
+<div id="comments" class="comments mb-3">
+ <div class="row border-bottom border-grey">
<h2 class="col"><%= t(".discussion") %></h2>
<% if current_user %>
<%= render :partial => "diary_comment", :collection => @comments %>
</div>
-<hr>
-
<div>
<% if current_user %>
<h3 id="newcomment"><%= t ".leave_a_comment" %></h3>