From 937f24839de9d124eeaf1e930400eee48ca4e9e6 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal <andy@pixelde.su> Date: Sat, 9 May 2020 11:41:24 +0200 Subject: [PATCH] Fix profile links on new inbox entries being not visible --- app/assets/stylesheets/components/_inbox-entry.scss | 4 ++++ app/views/inbox/_entry.html.haml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/components/_inbox-entry.scss b/app/assets/stylesheets/components/_inbox-entry.scss index 3f549443..679701d3 100644 --- a/app/assets/stylesheets/components/_inbox-entry.scss +++ b/app/assets/stylesheets/components/_inbox-entry.scss @@ -6,6 +6,10 @@ background-color: var(--primary); color: RGB(var(--primary-text)); + a { + color: RGB(var(--primary-text)); + } + .text-muted { color: RGBA(var(--primary-text), 0.8) !important; } diff --git a/app/views/inbox/_entry.html.haml b/app/views/inbox/_entry.html.haml index 04982e3e..307a43c6 100644 --- a/app/views/inbox/_entry.html.haml +++ b/app/views/inbox/_entry.html.haml @@ -1,4 +1,4 @@ -.card.inbox-box{class: i.new? ? 'inbox-entry--new' : '', data: { id: i.id }} +.card.inbox-entry{class: i.new? ? 'inbox-entry--new' : '', data: { id: i.id }} .card-header .media - unless i.question.author_is_anonymous