Skip to content

Commit

Permalink
fix(extension pop-up) : remove error message caused by an <a/> elemen…
Browse files Browse the repository at this point in the history
…t in another <a/>
  • Loading branch information
saumon-brule committed Sep 20, 2024
1 parent 1904906 commit 421d0fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions src/components/Login/Login.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
4 changes: 2 additions & 2 deletions src/components/Login/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ export default function Login({ keepLoggedIn, setKeepLoggedIn, A2FInfo, setRequi
<Link to="/">
<EDPLogoFullWidth className="login-logo" id="outside-container" alt="Logo Ecole Directe Plus" />
</Link>
<Link to="/edp-unblock" className="temp-disclaimer" id="edp-unblock-ad">
<Link to="/edp-unblock" id="edp-unblock-ad">
<ExtensionIcon className="extension-icon" />
<span>Installez l'extension EDP Unblock pour accéder en continu à Ecole Directe Plus ! <span className="edpu-explanation">Ecole Directe Plus a besoin de son extension pour accéder au contenu fourni par l’API d’EcoleDirecte.</span></span>
<Link to="/edp-unblock#about">En savoir plus</Link>
<span to="/edp-unblock#about">En savoir plus</span>
</Link>
<span className="login-social">
<DiscordLink />
Expand Down

0 comments on commit 421d0fc

Please sign in to comment.