From 59eea69b8aed92a5de3cd4c09c4c59bd063d255d Mon Sep 17 00:00:00 2001 From: Erick Lima Date: Fri, 15 Mar 2024 19:31:15 -0300 Subject: [PATCH 1/3] fix: Add Username to SignUp Form --- .../UserLoginModal/component.module.css | 26 +++++++++++------ app/components/UserLoginModal/index.tsx | 29 +++++++++++++++++-- 2 files changed, 44 insertions(+), 11 deletions(-) diff --git a/app/components/UserLoginModal/component.module.css b/app/components/UserLoginModal/component.module.css index 2728b9ee..674cd90a 100644 --- a/app/components/UserLoginModal/component.module.css +++ b/app/components/UserLoginModal/component.module.css @@ -41,6 +41,20 @@ } +#modal::-webkit-scrollbar { + width: 8px; +} + +#modal::-webkit-scrollbar-track { + box-shadow: inset 0 0 8px var(--black-05); + border-radius: 10px; +} + +#modal::-webkit-scrollbar-thumb { + background: var(--black-50); + border-radius: 6px; +} + /* heading */ #modal #heading { @@ -232,14 +246,6 @@ -webkit-box-shadow: 0 0 0 3px rgb(255 172 166 / 60%) inset !important; } -/* #modal form[data-error-occurred=true] input { - - background-color: rgb(255 172 166 / 60%) !important; - box-shadow: 0 0 0 3px rgb(255 172 166 / 60%) inset !important; - -webkit-box-shadow: 0 0 0 3px rgb(255 172 166 / 60%) inset !important; - -} */ - #modal form button { color: var(--white-100); @@ -247,6 +253,8 @@ background-color: var(--brand-color); border: 1px solid transparent; + margin-top: 32px; + padding: 18px 8px; width: 100%; @@ -281,7 +289,7 @@ } -#modal #create_account_button:hover { +#modal #create_account_button { text-decoration: underline; diff --git a/app/components/UserLoginModal/index.tsx b/app/components/UserLoginModal/index.tsx index 91fc3382..c3dca050 100644 --- a/app/components/UserLoginModal/index.tsx +++ b/app/components/UserLoginModal/index.tsx @@ -66,6 +66,7 @@ function UserModal({ onClick, auth, }: { onClick?: MouseEventHandler + + {alternativeForm && ( + + Username + + + + )} + +