From 13eb79493bf68d1ef989aa9c3e60364fcaee9fb6 Mon Sep 17 00:00:00 2001 From: kumbhar-sarthak Date: Wed, 7 May 2025 09:26:58 +0000 Subject: [PATCH] ui: Improve the placement of the "Forgot password" action. Previously, the "Forgot password" action was bit difficult to locate due to its position. This commit adjusts its placement to enhance discoverability and improve the user experience. --- templates/zerver/login.html | 13 +++++++++---- web/styles/portico/portico_signin.css | 14 ++++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/templates/zerver/login.html b/templates/zerver/login.html index c837f75e75..4667fc52e4 100644 --- a/templates/zerver/login.html +++ b/templates/zerver/login.html @@ -110,6 +110,13 @@ page can be easily identified in it's respective JavaScript file. --> + +
+ {% if email_auth_enabled %} + {{ _('Forgot your password?') }} + {% endif %} +
+ {% else %} {% include "two_factor/_wizard_forms.html" %} {% endif %} @@ -145,10 +152,8 @@ page can be easily identified in it's respective JavaScript file. --> {% endfor %} -
- {% if email_auth_enabled %} - {{ _('Forgot your password?') }} - {% endif %} +