Fix modal width behavior

This commit is contained in:
Sam Becker 2023-09-19 18:07:42 -05:00
parent bab7477e7d
commit 90574732cf

View File

@ -51,7 +51,7 @@ export default function Modal({
'dark:border dark:border-gray-800',
'md:p-4 md:rounded-xl',
)}
style={{ maxWidth: 'min(500px, 90vw)' }}
style={{ width: 'min(500px, 90vw)' }}
ref={contentRef}
>
{children}