Skip to content

Commit

Permalink
fix: modal height
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmanNik committed Dec 22, 2023
1 parent 9c83d1d commit 5c87a9a
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/lib/components/fakeModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
on:click={handleBLur}
bind:this={backdrop}>
<div
class="modal payment-modal"
class="modal"
class:is-small={size === 'small'}
class:is-big={size === 'big'}
class:is-separate-header={headerDivider}>
<Form isModal {onSubmit} class="payment-form">
<Form isModal {onSubmit}>
<header class="modal-header">
<div class="u-flex u-main-space-between u-cross-center u-gap-16">
<div class="u-flex u-cross-center u-gap-16">
Expand Down Expand Up @@ -151,14 +151,4 @@
background-color: hsl(240 5% 8% / 0.6);
}
}
.payment-modal {
height: 100%;
overflow: hidden;
}
.payment-form {
height: 100%;
overflow: auto;
}
</style>

0 comments on commit 5c87a9a

Please sign in to comment.