Fixed overflow issue on modal

This commit is contained in:
Jaret Burkett
2026-05-19 10:12:43 -06:00
parent df851b3497
commit 15d4fb89ff

View File

@@ -68,7 +68,7 @@ export const Modal: React.FC<ModalProps> = ({
>
{/* Modal panel */}
<div
className={`relative mx-auto w-full ${sizeClasses[size]} max-h-full overflow-y-auto rounded-xl bg-gray-900 shadow-xl shadow-black/10 dark:shadow-2xl dark:shadow-black/80 transition-all`}
className={`relative my-auto mx-auto w-full ${sizeClasses[size]} rounded-xl bg-gray-900 shadow-xl shadow-black/10 dark:shadow-2xl dark:shadow-black/80 transition-all`}
onClick={e => e.stopPropagation()}
>
{/* Modal header */}