From: Anton Khorev Date: Thu, 10 Aug 2023 17:47:41 +0000 (+0300) Subject: Remove message header custom css X-Git-Tag: live~1318^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/f4da0d34a0f9bc4867fae2a6056c97d0fc8b36dd Remove message header custom css --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 5e0c00259..ae9424288 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1150,20 +1150,6 @@ tr.turn:hover { display: none; } -.info-line { - margin-bottom: $lineheight; - padding: $lineheight/4 0px 4px 0px; - border-bottom: 1px solid $grey; - - form, form div { - display: inline; - } -} - -.info-line .user_thumbnail_tiny { - vertical-align: middle; -} - .inbox-sent { white-space: nowrap; } diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb index 0acfa88e1..4761aac60 100644 --- a/app/views/messages/show.html.erb +++ b/app/views/messages/show.html.erb @@ -2,7 +2,7 @@

<%= @message.title %>

<% end %> -
+
<% if current_user == @message.recipient %> <%= user_thumbnail_tiny @message.sender %> <%= link_to @message.sender.display_name, user_path(@message.sender) %>