Minor design fix
This commit is contained in:
parent
ea5bbf5f0a
commit
75876e43da
1 changed files with 18 additions and 16 deletions
|
@ -25,22 +25,24 @@ function Login(props: {
|
||||||
}): JSX.Element {
|
}): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<form className="flex flex-col items-center" onSubmit={props.handleSubmit}>
|
<form className="flex flex-col items-center" onSubmit={props.handleSubmit}>
|
||||||
<InputField
|
<div className="space-y-3">
|
||||||
type="text"
|
<InputField
|
||||||
label="Username"
|
type="text"
|
||||||
onChange={(e) => {
|
label="Username"
|
||||||
props.setUsername(e.target.value);
|
onChange={(e) => {
|
||||||
}}
|
props.setUsername(e.target.value);
|
||||||
value={props.username}
|
}}
|
||||||
/>
|
value={props.username}
|
||||||
<InputField
|
/>
|
||||||
type="password"
|
<InputField
|
||||||
label="Password"
|
type="password"
|
||||||
onChange={(e) => {
|
label="Password"
|
||||||
props.setPassword(e.target.value);
|
onChange={(e) => {
|
||||||
}}
|
props.setPassword(e.target.value);
|
||||||
value={props.password}
|
}}
|
||||||
/>
|
value={props.password}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<Button
|
<Button
|
||||||
text="Login"
|
text="Login"
|
||||||
onClick={(): void => {
|
onClick={(): void => {
|
||||||
|
|
Loading…
Reference in a new issue