Skip to content

Commit

Permalink
fix: passphrase modal layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tomicvladan committed Sep 27, 2023
1 parent 935a0e1 commit 29b98fd
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/components/Modals/PasswordModal/PasswordModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,6 @@ const PasswordModal: FC<PasswordModalProps> = ({

<p className="text-sm mb-5">{intl.get('PASSPHRASE_EXPLANATION')}</p>

<div className="my-5">
<Disclosure
title={intl.get('READ_MORE')}
defaultOpen={!getMetamaskPassphraseExplanation()}
>
<p className="text-sm mb-5">
{intl.get('PASSPHRASE_EXPLANATION_2')}
</p>
</Disclosure>
</div>

<div className="text-center">
<Button
type="submit"
Expand All @@ -93,6 +82,16 @@ const PasswordModal: FC<PasswordModalProps> = ({
loading={loading}
/>
</div>
<div className="mt-5">
<Disclosure
title={'How it works'}
defaultOpen={!getMetamaskPassphraseExplanation()}
>
<p className="text-sm mb-3">
{intl.get('PASSPHRASE_EXPLANATION_2')}
</p>
</Disclosure>
</div>
</form>

<div className="mt-4 text-center">
Expand Down

0 comments on commit 29b98fd

Please sign in to comment.