]> git.openstreetmap.org Git - rails.git/commitdiff
Replace top margin on comments with bottom padding on diary posts
authorAnton Khorev <tony29@yandex.ru>
Wed, 16 Aug 2023 01:22:50 +0000 (04:22 +0300)
committerAnton Khorev <tony29@yandex.ru>
Wed, 16 Aug 2023 01:22:50 +0000 (04:22 +0300)
app/views/diary_entries/_diary_entry.html.erb
app/views/diary_entries/show.html.erb

index 276b3eae7aa7c6352904c7a0f7d84f120507f50f..f69c7e552c3bf80f0adff79febae210093eb2a47 100644 (file)
@@ -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>
index 5d2f7d969b174950643a1982883c423fa00d0a81..5bfdfa17b3205dfd49648ace8b04d78ab388b81b 100644 (file)
@@ -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>