fix: following list overflow

This commit is contained in:
DIYgod
2022-09-02 11:13:13 +01:00
parent d9447c83ac
commit 35af6f2a3e
+1 -1
View File
@@ -28,7 +28,7 @@ export const Modal: React.FC<{
{/* The actual dialog panel */}
<Dialog.Panel
className={clsx(
`mx-auto rounded-lg bg-white w-full shadow-modal -mt-40`,
`mx-auto rounded-lg bg-white w-full shadow-modal max-h-full overflow-y-auto`,
size === "md"
? `max-w-md`