Skip to content

Commit

Permalink
fix: scrollable modal component
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Apr 13, 2024
1 parent 32fd360 commit 01fa2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uikit/src/modal/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}

&-content {
@apply bg-background border-border fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-4 shadow-lg duration-200 sm:rounded-lg md:w-full;
@apply bg-background border-border fixed left-[50%] top-[50%] z-50 grid max-h-[calc(100%-48px)] w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 overflow-y-auto border p-4 shadow-lg duration-200 sm:rounded-lg md:w-full;
}

&-close {
Expand Down

0 comments on commit 01fa2b6

Please sign in to comment.