From 98f1e2a21dd7dd4ab0c95ffcd8827cc6489d3925 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 8 Aug 2023 17:36:02 +0300 Subject: [PATCH] Update diary entry styling user_ class was kept because https://github.com/openstreetmap/openstreetmap-website/pull/2266 --- app/assets/stylesheets/common.scss | 13 ------------- app/views/diary_entries/_diary_entry.html.erb | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) 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) %>

-- 2.39.5