From 696fa4c06b2351983740eb617ad46eb8eeb2c4e8 Mon Sep 17 00:00:00 2001 From: spf Date: Fri, 8 Jun 2018 15:18:39 +0200 Subject: Enable default link behavior and accessibility for login page (#636) * enable default link behavior and accessibility for login page * alt for link: great idea, but the world is not ready --- client/src/app/login/login.component.html | 4 ++-- client/src/app/login/login.component.scss | 10 ++-------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html index 1f6cfdb90..1846fd19e 100644 --- a/client/src/app/login/login.component.html +++ b/client/src/app/login/login.component.html @@ -17,7 +17,7 @@ or create an account - + or create an account on another instance @@ -39,7 +39,7 @@ type="password" name="password" id="password" i18n-placeholder placeholder="Password" required tabindex="2" formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" > -
I forgot my password
+ I forgot my password
{{ formErrors.password }} diff --git a/client/src/app/login/login.component.scss b/client/src/app/login/login.component.scss index 4a37ee961..900b2467a 100644 --- a/client/src/app/login/login.component.scss +++ b/client/src/app/login/login.component.scss @@ -17,13 +17,7 @@ input[type=submit] { @include orange-button; } -.forgot-password-button { - display: inline-block; - cursor: pointer; -} - -.create-an-account { - @include disable-default-a-behaviour; - +.create-an-account, .forgot-password-button { color: #000; + cursor: pointer; } -- cgit v1.2.3