From 421d0fc0d95e4374e3e97b8f886a955ef7d9c6a5 Mon Sep 17 00:00:00 2001 From: saumon-brule <96207807+saumon-brule@users.noreply.github.com> Date: Fri, 20 Sep 2024 15:09:35 +0200 Subject: [PATCH] fix(extension pop-up) : remove error message caused by an element in another --- src/components/Login/Login.css | 8 +++++--- src/components/Login/Login.jsx | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/Login/Login.css b/src/components/Login/Login.css index bd636c29..64fd008f 100644 --- a/src/components/Login/Login.css +++ b/src/components/Login/Login.css @@ -53,16 +53,18 @@ fill: rgba(var(--text-color-main), .9); } -#edp-unblock-ad span { +#edp-unblock-ad span:not(:last-child) { flex: 1; color: rgb(var(--text-color-alt)); transition: .1s; } -#edp-unblock-ad a { + +#edp-unblock-ad { color: rgb(var(--text-color-alt)); transition: .1s; } -#edp-unblock-ad:is(:hover, :focus-visible) :is(span, a) { + +#edp-unblock-ad:is(:hover, :focus-visible) span { color: rgba(var(--text-color-main), .9); } diff --git a/src/components/Login/Login.jsx b/src/components/Login/Login.jsx index 0de8c4d0..e9c11af2 100644 --- a/src/components/Login/Login.jsx +++ b/src/components/Login/Login.jsx @@ -35,10 +35,10 @@ export default function Login({ keepLoggedIn, setKeepLoggedIn, A2FInfo, setRequi - + Installez l'extension EDP Unblock pour accéder en continu à Ecole Directe Plus ! Ecole Directe Plus a besoin de son extension pour accéder au contenu fourni par l’API d’EcoleDirecte. - En savoir plus + En savoir plus