From 90574732cf263978a414ef11f9e33c7b58806a16 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Tue, 19 Sep 2023 18:07:42 -0500 Subject: [PATCH] Fix modal width behavior --- src/components/Modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Modal.tsx b/src/components/Modal.tsx index ecb5a819..adfffc97 100644 --- a/src/components/Modal.tsx +++ b/src/components/Modal.tsx @@ -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}