Skip to content

Commit

Permalink
fix: onfido screen css issues
Browse files Browse the repository at this point in the history
  • Loading branch information
“yauheni-kryzhyk-deriv” committed Sep 27, 2023
1 parent 778e635 commit 5402999
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 25 deletions.
23 changes: 0 additions & 23 deletions packages/account/src/Styles/account.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1856,29 +1856,6 @@ $MIN_HEIGHT_FLOATING: calc(
}
}

/** @define onfido-container; weak */
.onfido-container {
&__hidden {
display: none;
}

@include mobile {
.onfido-sdk-ui-PageTitle {
&-titleWrapper {
margin: 0 1.5em 0.4em;
}

&-title {
text-align: left;
}

&-subTitle {
text-align: left;
}
}
}
}

/* stylelint-disable */
.dc-modal {
&__container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
align-items: center;
gap: 1.6rem;

&__hidden {
display: none;
}

&-view_wrapper {
position: relative;
min-width: 32.8rem;
Expand All @@ -22,8 +26,15 @@
@include mobile() {
padding: 1.6rem;

.onfido-sdk-ui-PageTitle-titleSpan {
font-size: 2rem;
& .onfido-sdk-ui-PageTitle {
&-titleWrapper {
margin: 2.4rem 0 0;
}

&-title {
font-size: 2rem;
text-align: center;
}
}
}

Expand All @@ -47,6 +58,10 @@
@include mobile {
margin-top: 1.6rem;
}

.dc-hint-box {
margin-inline: 0.8rem;
}
}

&__status-message {
Expand Down

0 comments on commit 5402999

Please sign in to comment.