gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: center text


From: gnunet
Subject: [taler-wallet-core] branch master updated: center text
Date: Mon, 29 Jan 2024 19:13:30 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 1236ec852 center text
1236ec852 is described below

commit 1236ec852aa79eefb9a30f3532d9637f7392b2d4
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Jan 29 15:13:19 2024 -0300

    center text
---
 packages/demobank-ui/src/pages/LoginForm.tsx | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/packages/demobank-ui/src/pages/LoginForm.tsx 
b/packages/demobank-ui/src/pages/LoginForm.tsx
index 7e5631cfb..83aaff9fa 100644
--- a/packages/demobank-ui/src/pages/LoginForm.tsx
+++ b/packages/demobank-ui/src/pages/LoginForm.tsx
@@ -70,8 +70,8 @@ export function LoginForm({
       username: !username
         ? i18n.str`Missing username`
         : // : !USERNAME_REGEX.test(username)
-          //   ? i18n.str`Use letters and numbers only, and start with a 
lowercase letter`
-          undefined,
+        //   ? i18n.str`Use letters and numbers only, and start with a 
lowercase letter`
+        undefined,
       password: !password ? i18n.str`Missing password` : undefined,
     }) ?? busy;
 
@@ -241,14 +241,12 @@ export function LoginForm({
         </form>
 
         {config.allow_registrations && routeRegister && (
-          <p class="mt-10 text-center text-sm text-gray-500 border-t">
-            <a
-              href={routeRegister.url({})}
-              class="flex mt-4 rounded-md bg-blue-600 px-3 py-1.5 text-sm 
font-semibold leading-6 text-white shadow-sm hover:bg-blue-500 
focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 
focus-visible:outline-blue-600"
-            >
-              <i18n.Translate>Register</i18n.Translate>
-            </a>
-          </p>
+          <a
+            href={routeRegister.url({})}
+            class="flex justify-center border-t mt-4 rounded-md bg-blue-600 
px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm 
hover:bg-blue-500 focus-visible:outline focus-visible:outline-2 
focus-visible:outline-offset-2 focus-visible:outline-blue-600"
+          >
+            <i18n.Translate>Register</i18n.Translate>
+          </a>
         )}
       </div>
     </div>

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]