From d89a30421cd67b2d9ed63b38aab9084930a26a70 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 15 Jul 2020 12:12:35 +0200 Subject: [PATCH] Use bootstrap backgrounds and text utilities for read issue reports --- app/assets/stylesheets/common.scss | 5 ----- app/views/issues/show.html.erb | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) 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 %>
-- 2.39.5