Updated styles on Pwd Recovery page

This commit is contained in:
Frank Johnson
2021-09-11 21:19:34 -04:00
parent 750d10c01d
commit 6a69a1c1bf
2 changed files with 6 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ const MainLayout = ({ children, shouldRemoveFooterInIde }) => {
} }
}, [hash, client]) }, [hash, client])
return ( return (
<div> <div className="min-h-screen flex flex-col">
<header id="cadhub-main-header"> <header id="cadhub-main-header">
<nav className="flex justify-between h-16 px-4 bg-ch-gray-900"> <nav className="flex justify-between h-16 px-4 bg-ch-gray-900">
<ul className="flex items-center"> <ul className="flex items-center">
@@ -197,7 +197,7 @@ const MainLayout = ({ children, shouldRemoveFooterInIde }) => {
open={isLoginModalOpen} open={isLoginModalOpen}
onClose={() => setIsLoginModalOpen(false)} onClose={() => setIsLoginModalOpen(false)}
/> />
<main>{children}</main> <main className="flex-grow bg-ch-gray-800">{children}</main>
{!shouldRemoveFooterInIde && <Footer />} {!shouldRemoveFooterInIde && <Footer />}
</div> </div>
) )

View File

@@ -31,14 +31,14 @@ const AccountRecoveryPage = () => {
/> />
<section className="max-w-md mx-auto mt-20"> <section className="max-w-md mx-auto mt-20">
<h2 className="text-xl text-indigo-500 pb-4">Send recovery email</h2> <h2 className="text-xl text-ch-gray-300 pb-4">Send recovery email</h2>
<Form onSubmit={onSubmit}> <Form onSubmit={onSubmit}>
<div <div
className="grid items-center gap-2" className="grid items-center gap-2"
style={{ gridTemplateColumns: 'auto 1fr' }} style={{ gridTemplateColumns: 'auto 1fr' }}
> >
<span className="capitalize text-gray-500 text-sm align-middle my-3"> <span className="capitalize text-ch-gray-300 text-sm">
email: email
</span> </span>
<InputTextForm <InputTextForm
className="text-xl" className="text-xl"
@@ -52,7 +52,7 @@ const AccountRecoveryPage = () => {
}} }}
/> />
</div> </div>
<Submit className="bg-indigo-200 text-indigo-800 p-2 px-4 shadow hover:shadow-lg mt-4 rounded"> <Submit className="mt-4 bg-ch-purple-400 bg-opacity-50 hover:bg-opacity-80 text-ch-gray-300 flex bg-gray-200 h-10 flex-shrink-0 justify-center items-center px-4 rounded">
Send email Send email
</Submit> </Submit>
</Form> </Form>