We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76485fd commit 5ff3e00Copy full SHA for 5ff3e00
src/modal/modal.tsx
@@ -122,7 +122,7 @@ const Modal = ({
122
<Transition.Root show={open} as={Fragment}>
123
<Dialog
124
onClose={onClose}
125
- className="relative z-1050 w-screen h-screen"
+ className="relative z-1050 w-full h-full "
126
onKeyDown={onKeyDown}
127
initialFocus={initialFocus}
128
>
@@ -131,7 +131,7 @@ const Modal = ({
131
132
{/* Full-screen container of the panel */}
133
<div
134
- className={`fixed inset-0 flex items-start justify-center p-[10px] md:pt-[30px] md:pb-[30px] overflow-scroll`}
+ className={`fixed inset-0 flex items-start justify-center p-[10px] md:pt-[30px] md:pb-[30px] overflow-auto`}
135
136
<Transition.Child
137
as={Fragment}
0 commit comments