]> Untitled Git - lemmy-ui.git/commitdiff
Adding not allowed to password reset. Fixes #205
authorDessalines <tyhou13@gmx.com>
Thu, 25 Mar 2021 16:17:42 +0000 (12:17 -0400)
committerDessalines <tyhou13@gmx.com>
Thu, 25 Mar 2021 16:17:42 +0000 (12:17 -0400)
src/assets/css/main.css
src/shared/components/login.tsx

index 5f67199e43b2e6910de9eb024ad7e4a08cbdd8cf..eaf596ce043f3bc80631ea78440b8eb018ec6f21 100644 (file)
   pointer-events: auto !important;
 }
 
+.not-allowed {
+  cursor: not-allowed;
+}
+
 .no-click {
   pointer-events: none;
   opacity: 0.65;
index b68795e545add6c99a759d07b2135e514a311ca1..325df274af7d4d25b91fd3e0dd1ba1fffa9ed423 100644 (file)
@@ -141,7 +141,7 @@ export class Login extends Component<any, State> {
               <button
                 type="button"
                 onClick={linkEvent(this, this.handlePasswordReset)}
-                className="btn p-0 btn-link d-inline-block float-right text-muted small font-weight-bold pointer-events"
+                className="btn p-0 btn-link d-inline-block float-right text-muted small font-weight-bold pointer-events not-allowed"
                 disabled={!validEmail(this.state.loginForm.username_or_email)}
                 title={i18n.t("no_password_reset")}
               >