mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
This commit is contained in:
parent
4d4e487ffc
commit
dcffa4c7bc
@ -89,7 +89,6 @@ export default function FormField({
|
||||
<Box
|
||||
className="form-field__heading-detail"
|
||||
textAlign={TEXT_ALIGN.END}
|
||||
marginBottom={3}
|
||||
marginRight={2}
|
||||
{...titleDetailWrapperProps}
|
||||
>
|
||||
|
@ -182,16 +182,18 @@ export default function CreatePassword({
|
||||
titleText={t('newPassword')}
|
||||
value={password}
|
||||
titleDetail={
|
||||
<button
|
||||
className="create-password__form--password-button"
|
||||
type="button"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
setShowPassword(!showPassword);
|
||||
}}
|
||||
>
|
||||
{showPassword ? t('hide') : t('show')}
|
||||
</button>
|
||||
<Typography variant={TYPOGRAPHY.H7}>
|
||||
<a
|
||||
href=""
|
||||
className="create-password__form--password-button"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
setShowPassword(!showPassword);
|
||||
}}
|
||||
>
|
||||
{showPassword ? t('hide') : t('show')}
|
||||
</a>
|
||||
</Typography>
|
||||
}
|
||||
/>
|
||||
<FormField
|
||||
|
@ -28,8 +28,7 @@
|
||||
}
|
||||
|
||||
&--password-button {
|
||||
background-color: transparent;
|
||||
color: var(--color-text-default);
|
||||
color: var(--color-primary-default);
|
||||
}
|
||||
|
||||
&--checkmark {
|
||||
|
Loading…
Reference in New Issue
Block a user