fix(SW-360): signup cta ui + name lable formatting
This commit is contained in:
@@ -46,4 +46,8 @@
|
|||||||
.nameInputs {
|
.nameInputs {
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.signUpButton {
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,12 +94,12 @@ export default function Form({ link, subtitle, title }: RegisterFormProps) {
|
|||||||
</header>
|
</header>
|
||||||
<div className={styles.nameInputs}>
|
<div className={styles.nameInputs}>
|
||||||
<Input
|
<Input
|
||||||
label={"firstName"}
|
label={intl.formatMessage({ id: "First name" })}
|
||||||
name="firstName"
|
name="firstName"
|
||||||
registerOptions={{ required: true }}
|
registerOptions={{ required: true }}
|
||||||
/>
|
/>
|
||||||
<Input
|
<Input
|
||||||
label={"lastName"}
|
label={intl.formatMessage({ id: "Last name" })}
|
||||||
name="lastName"
|
name="lastName"
|
||||||
registerOptions={{ required: true }}
|
registerOptions={{ required: true }}
|
||||||
/>
|
/>
|
||||||
@@ -171,7 +171,9 @@ export default function Form({ link, subtitle, title }: RegisterFormProps) {
|
|||||||
</Checkbox>
|
</Checkbox>
|
||||||
</section>
|
</section>
|
||||||
<Button
|
<Button
|
||||||
|
className={styles.signUpButton}
|
||||||
type="submit"
|
type="submit"
|
||||||
|
theme="base"
|
||||||
intent="primary"
|
intent="primary"
|
||||||
disabled={methods.formState.isSubmitting}
|
disabled={methods.formState.isSubmitting}
|
||||||
data-testid="submit"
|
data-testid="submit"
|
||||||
|
|||||||
Reference in New Issue
Block a user