From: Andy Allan Date: Wed, 15 Jul 2020 10:12:35 +0000 (+0200) Subject: Use bootstrap backgrounds and text utilities for read issue reports X-Git-Tag: live~2101^2~2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/d89a30421cd67b2d9ed63b38aab9084930a26a70 Use bootstrap backgrounds and text utilities for read issue reports --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 0cdc2c4bb..0971b8b22 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -2297,8 +2297,3 @@ input.richtext_title[type="text"] { display: none; } } - -.read-reports { - background: $lightgrey; - opacity: 0.7; -} diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 6472a4967..65bd9ced3 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -24,14 +24,14 @@

<%= t ".reports_of_this_issue" %>

<% if @read_reports.present? %> -
+

<%= t ".read_reports" %>

<%= render "reports", :reports => @read_reports %>
<% end %> <% if @unread_reports.any? %> -
+

<%= t ".new_reports" %>

<%= render "reports", :reports => @unread_reports %>