Skip to content

Commit

Permalink
style: 🎨 resolved issue with onfido container for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
likhith-deriv committed May 2, 2023
1 parent e5e882e commit 0811751
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ const OnfidoSdkView = ({
className={classNames({
'onfido-container__disabled': is_onfido_disabled,
'onfido-container__hidden': component_to_load,
'onfido-container__layout': isMobile(),
})}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@
&__info-message {
position: absolute;
top: 2.4rem;
right: 25%;
left: 25%;
z-index: 1;
@include mobile {
top: 1.6rem;
left: 5rem;
}
}

&__status-message {
Expand All @@ -39,6 +43,11 @@
text-align: center;
}
}

&__layout {
width: 98vw;
height: 100vh;
}
}

.account-form {
Expand Down

0 comments on commit 0811751

Please sign in to comment.