From: Anton Khorev Date: Wed, 16 Aug 2023 01:22:50 +0000 (+0300) Subject: Replace top margin on comments with bottom padding on diary posts X-Git-Tag: live~1140^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/8efc15ea7aab0254fdc898a76d2de33b8f63f872?hp=--cc Replace top margin on comments with bottom padding on diary posts --- 8efc15ea7aab0254fdc898a76d2de33b8f63f872 diff --git a/app/views/diary_entries/_diary_entry.html.erb b/app/views/diary_entries/_diary_entry.html.erb index 276b3eae7..f69c7e552 100644 --- a/app/views/diary_entries/_diary_entry.html.erb +++ b/app/views/diary_entries/_diary_entry.html.erb @@ -1,4 +1,4 @@ -
+
<% if @user %>

<%= link_to diary_entry.title, diary_entry_path(diary_entry.user, diary_entry) %>

diff --git a/app/views/diary_entries/show.html.erb b/app/views/diary_entries/show.html.erb index 5d2f7d969..5bfdfa17b 100644 --- a/app/views/diary_entries/show.html.erb +++ b/app/views/diary_entries/show.html.erb @@ -12,7 +12,7 @@ <%= render @entry %> -
+
<%= render :partial => "diary_comment", :collection => @comments %>