Skip to content

Commit

Permalink
Merge pull request #62 from farrah-deriv/scrollable-verification-modal
Browse files Browse the repository at this point in the history
farrah/ Scrollable verification modal
  • Loading branch information
carolsachdeva committed Sep 1, 2022
2 parents 8b1eebb + ae5fbe0 commit b2e6e16
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const EmailVerificationModal = ({
)}
</Modal.Body>
{should_show_resend_email_button && should_show_reasons_if_no_email && (
<Modal.Footer>
<Modal.Footer className='email-verification-modal--footer'>
<Button large primary onClick={onClickResendEmailButton}>
<Localize i18n_default_text='Resend email' />
{/* TODO: Uncomment when time is available in BE response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,21 @@
display: flex;
flex-direction: column;

@include mobile {
max-height: 80vh;
overflow: auto;
}

&--email_text {
margin: 2.4rem 0;
}

&--footer {
@include mobile {
justify-content: center;
}
}

&--reason {
display: flex;
flex-direction: row;
Expand Down

0 comments on commit b2e6e16

Please sign in to comment.