From: Anton Khorev Date: Tue, 8 Aug 2023 14:36:02 +0000 (+0300) Subject: Update diary entry styling X-Git-Tag: live~1150^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/98f1e2a21dd7dd4ab0c95ffcd8827cc6489d3925 Update diary entry styling user_ class was kept because https://github.com/openstreetmap/openstreetmap-website/pull/2266 --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 5a033bd0b..abee14c39 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1047,19 +1047,6 @@ tr.turn:hover { width: 100%; } -/* Rules for the diary list page */ - -.diary_post { - position: relative; - padding-top: $lineheight; - padding-bottom: $lineheight/2; - border-top: 1px solid $grey; - - &.deleted { - background-color: #fee; - } -} - /* Rules for the diary entry page */ .diary_entries { diff --git a/app/views/diary_entries/_diary_entry.html.erb b/app/views/diary_entries/_diary_entry.html.erb index 37420cdf1..52f500b1c 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) %>