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