Fix modal width behavior
This commit is contained in:
parent
bab7477e7d
commit
90574732cf
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user