Skip to content

Commit 85575ef

Browse files
authored
Merge pull request #12 from trsctr/fix/hide-modal-scrollbar
hide modal scrollbar
2 parents 0389074 + b4a0c4f commit 85575ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/modal/Modal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const Modal: React.FC<ModalProps> = ({
3131
>
3232
<div
3333
ref={modalRef}
34-
className="relative flex flex-col px-2 w-5/6 md:w-1/2 lg:w-1/3 max-w-lg sm:max-w-full max-h-full overflow-y-scroll rounded-lg shadow bg-background"
34+
className="relative flex flex-col px-2 w-5/6 md:w-1/2 lg:w-1/3 max-w-lg sm:max-w-full max-h-full overflow-auto rounded-lg shadow bg-background"
3535
>
3636
{/* Modal Header */}
3737
<div className="md:flex text-center md:text-left items-center justify-between pt-3 md:p-3">

0 commit comments

Comments
 (0)