Open source alternative to Semrush and Ahrefs
TypeScript backlink-analysisgoogle-search-console-mcpkeyword-researchmcpseoseo-agentseo-auditseo-automationseo-skillsseo-toolssite-audit
Fix modals taller than the viewport being unscrollable (#425)
Ben Senescu72c1cf0b8e3e
diff --git a/src/client/components/Modal.tsx b/src/client/components/Modal.tsxindex 203d1c54..e6855fae 100644--- a/src/client/components/Modal.tsx+++ b/src/client/components/Modal.tsx@@ -25,14 +25,14 @@ export function Modal({}, [onClose]);return (- <div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50">+ <div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4"><divrole="dialog"aria-modal="true"aria-labelledby={labelledBy}- className={`card bg-base-100 border border-base-300 w-full ${maxWidth} shadow-xl`}+ className={`card bg-base-100 border border-base-300 w-full ${maxWidth} max-h-full shadow-xl`}>- <div className="card-body gap-4">{children}</div>+ <div className="card-body gap-4 overflow-y-auto">{children}</div></div></div>);