Skip to content

Scheduling infrastructure for absolutely everyone.

React embed: fix modal close on click outside (#5181)

Harsh Singh5bb868d2c3a1
diff --git a/apps/web/pages/success.tsx b/apps/web/pages/success.tsx
index f2580a0fc31..3182ba66833 100644
--- a/apps/web/pages/success.tsx
+++ b/apps/web/pages/success.tsx
@@ -297,7 +297,7 @@ export default function Success(props: SuccessProps) {
aria-hidden="true">
<div
className={classNames(
- "inline-block transform overflow-hidden rounded-lg border sm:my-8 sm:max-w-xl",
+ "main inline-block transform overflow-hidden rounded-lg border sm:my-8 sm:max-w-xl",
isBackgroundTransparent ? "" : "dark:bg-darkgray-100 bg-white dark:border-neutral-700",
"px-8 pt-5 pb-4 text-left align-bottom transition-all sm:w-full sm:py-8 sm:align-middle"
)}