Correct font/box sizes for auth
This commit is contained in:
parent
6362428118
commit
90b3e8add1
@ -66,9 +66,9 @@ function Signup() {
|
||||
<Navbar />
|
||||
<div className={styles.container}>
|
||||
<h1>Create Account</h1>
|
||||
<h2 className={error ? styles.errorVisible : styles.errorHidden}>
|
||||
<p className={error ? styles.errorVisible : styles.errorHidden}>
|
||||
{error}
|
||||
</h2>
|
||||
</p>
|
||||
<hr></hr>
|
||||
<form onSubmit={handleSubmit}>
|
||||
<input
|
||||
|
@ -8,7 +8,7 @@ body {
|
||||
.container {
|
||||
font-size: 17px;
|
||||
position: absolute;
|
||||
max-width: 500px;
|
||||
width: 400px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
@ -27,7 +27,8 @@ h1 {
|
||||
.authInput {
|
||||
display: block;
|
||||
margin: 10px auto;
|
||||
width: 300px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
border-radius: 5px;
|
||||
padding: 15px;
|
||||
font-size: 17px;
|
||||
@ -62,6 +63,8 @@ button:active {
|
||||
visibility: visible;
|
||||
color: #ee6161;
|
||||
font-weight: 600;
|
||||
word-wrap: break-word;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.errorHidden {
|
||||
|
Loading…
x
Reference in New Issue
Block a user