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

fix: height issue #241

Closed
wants to merge 3 commits into from
Closed
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 @@ -17,13 +17,13 @@

@include mobile-or-tablet-screen {
height: unset;
max-height: calc(100vh - 28rem);
max-height: calc(100% - 28rem);
}

&--no-footer {
height: 44rem;
@include mobile-or-tablet-screen {
height: 100vh;
height: 100%;
max-height: unset;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
left: 0;
background: #fff;
z-index: 1;
height: calc(100vh - 7.5rem);
height: calc(100% - 7.5rem);

& .mobile-wrapper {
&__header {
Expand Down
6 changes: 4 additions & 2 deletions src/components/PaymentMethodCard/PaymentMethodCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ const PaymentMethodCard = ({
})}
>
{!toAdd ? (
<div className='flex flex-col items-center justify-center w-full h-full'>
<div
className='flex flex-col items-center justify-center w-full h-full'
onClick={() => onClickAdd?.(paymentMethod)}
>
<Button
className='flex items-center justify-center w-[3.2rem] h-[3.2rem] mb-[0.8rem] rounded-full bg-[#ff444f]'
data-testid='dt_payment_method_add_button'
onClick={() => onClickAdd?.(paymentMethod)}
>
<LabelPairedPlusLgBoldIcon fill='white' />
</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

@include mobile {
padding: 1.6rem;
height: calc(100vh - 20rem);
height: calc(100% - 20rem);
overflow: auto;
}
}
4 changes: 4 additions & 0 deletions src/routes/AppContent/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@
border-bottom: 1px solid #f2f3f4;
}
}

.languages-modal__body {
margin: 1.6rem;
}
Loading