Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: incorporated style changes #4

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const PersonalDetails = ({
onClick={handleClickOutside}
data-testid='personal_details_form'
>
<Div100vhContainer className='details-form' height_offset='90px' is_disabled={isDesktop()}>
<Div100vhContainer className='details-form' height_offset='100px' is_disabled={isDesktop()}>
{!is_qualified_for_idv && (
<Text as='p' size='xxxs' align='center' className='details-form__description'>
<Localize
Expand Down
10 changes: 5 additions & 5 deletions packages/core/src/sass/account-wizard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,9 @@
margin-bottom: 0.5rem;
}
}
// &__header:not(:first-child) {
// margin-top: 1.6rem;
// }
&__header:not(:first-child) {
margin-top: 1.6rem;
}
&__title {
padding-right: 0.8rem;
}
Expand Down Expand Up @@ -822,7 +822,7 @@

.personal-details-form {
width: 100%;
@include mobile() {
padding: 0 1.6rem;
@include desktop {
padding: 0 16rem;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
.onfido-sdk-ui-Camera-webcamContainer {
left: auto;
width: -webkit-fill-available;
Expand Down Expand Up @@ -47,8 +48,10 @@
gap: 0.8rem;

&_container {
border: 1px solid #d6dadb;
border-radius: 0.8rem;
@include desktop {
border: 1px solid var(--general-active);
border-radius: 0.8rem;
}
padding: 1.6rem;

.account__scrollbars_container {
Expand All @@ -62,7 +65,6 @@
}

&_wrapper {
margin-bottom: 2.4rem;
transition: transform 0.35s ease, opacity 0.35s linear;
transform-origin: top;
opacity: 1;
Expand Down Expand Up @@ -97,10 +99,12 @@
}

.account-form__fieldset {
margin-bottom: 0;
.dc-input {
margin-bottom: 1rem;
}

.dc-input,
.dc-input--error {
.dc-input.dc-input--error,
.dc-input.dc-input--hint {
margin-bottom: 3.8rem;
}
}
Expand Down Expand Up @@ -159,7 +163,6 @@

&-content {
grid-area: section-content;
// width: 40rem;

@include mobile {
width: 100%;
Expand Down
6 changes: 6 additions & 0 deletions packages/core/src/sass/real-account-signup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,10 @@

.idv-form {
grid-template-rows: unset !important;

.details-form {
@include mobile {
overflow: unset;
}
}
}