This commit is contained in:
Kenneth Jannette
2024-02-05 19:08:41 -06:00
parent 65e794fc4f
commit a12da07220
3 changed files with 51 additions and 13 deletions

View File

@@ -430,9 +430,12 @@ const SignupPage = () => {
Object.keys(signupFields).slice(0, -2),
fieldsChunkSize
).map((names, j) => (
<Row key={`row${j}`}>
<Row key={`row${j}`} className="signup-form-row">
{names.map((name, i) => (
<Col key={`${name}${i + fieldsChunkSize * j}`} className="mb-3">
<Col
key={`${name}${i + fieldsChunkSize * j}`}
className="mb-3 signup-form-column"
>
<TextInput
name={name}
value={data[name].value}
@@ -447,12 +450,13 @@ const SignupPage = () => {
type={signupFields[name].type}
values={signupFields[name].values}
disabled={isBusy}
inputClassName="mobile-text-input"
/>
</Col>
))}
</Row>
))}
<Row>
<Row className="signup-password-row">
<Col className="mb-3">
<TextInput
id="signupPassword"
@@ -470,7 +474,7 @@ const SignupPage = () => {
/>
</Col>
</Row>
<Row>
<Row className="signup-password-row">
<Col className="mb-3">
<TextInput
id="confirmPassword"

View File

@@ -69,7 +69,11 @@ p {
/*** Media Queries **/
@media only screen and (max-width: 430px) {
@media only screen and (max-width: 420px) {
.main-container {
max-width: 390px;
}
.mobile-content-container {
display: flex;
flex-direction: column;

View File

@@ -287,20 +287,50 @@
width: 240px;
}
//
@media only screen and (max-width: 430px) {
@media only screen and (max-width: 420px) {
.signup-super-container {
max-width: 380px;
}
.signup-header {
max-width: 400px;
width: 360px !important;
}
.signup-sub-container {
width: 370px;
width: 360px !important;
}
.signup-header {
width: 340px !important;
}
.signup-header-text-trial {
display: none;
}
.signup-sub-container {
width: 860px;
}
.signup-header-text {
font-size: 1.75rem;
font-size: 1.35rem;
&.trial {
font-size: 0.95rem;
font-size: 0.89rem;
display: none;
}
}
.signup-form {
width: 350px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: auto;
}
.signup-form-row {
width: 340px !important;
display: flex;
flex-direction: column;
}
.signup-form-column {
width: 350px;
}
.mobile-text-input {
width: 320px;
}
.signup-password-row {
width: 345px !important;
}
}