From ae4b07de41e82c74050dc63a1fe6a704478c131e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 28 Sep 2023 17:59:48 +0200 Subject: [PATCH] Make alt text readable when the logo doesn't load We were displaying the alt text using the same color as the background color, which made it impossible to read it when the logo didn't load (for whatever reason). Using the same color as the text, like done in the admin section, solves the issue. --- app/assets/stylesheets/layout.scss | 4 ++++ app/assets/stylesheets/layout/admin_header.scss | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index ea7bba8bc..fc211c76a 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -506,6 +506,10 @@ body > header, padding: rem-calc(6) 0; text-align: center; } + + h1 a { + color: inherit; + } } .public > .wrapper > header, diff --git a/app/assets/stylesheets/layout/admin_header.scss b/app/assets/stylesheets/layout/admin_header.scss index 105aa3f35..8c6753985 100644 --- a/app/assets/stylesheets/layout/admin_header.scss +++ b/app/assets/stylesheets/layout/admin_header.scss @@ -54,7 +54,6 @@ } a { - color: inherit; display: inline-block; font-family: "Lato" !important; font-size: rem-calc(24);