Skip to content

Scheduling infrastructure for absolutely everyone.

Fix Google spam policy alert layout in embed (#12153)

Hariom Balharab4d27a93260c
diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx
index 44eb293a1a3..44094705b98 100644
--- a/apps/web/pages/booking/[uid].tsx
+++ b/apps/web/pages/booking/[uid].tsx
@@ -342,14 +342,17 @@ export default function Success(props: SuccessProps) {
<div
className={classNames(
shouldAlignCentrally ? "text-center" : "",
- "flex items-end justify-center px-4 pb-20 pt-4 sm:block sm:p-0"
+ "flex items-end justify-center px-4 pb-20 pt-4 sm:flex sm:p-0"
)}>
<div
- className={classNames("my-4 transition-opacity sm:my-0", isEmbed ? "" : " inset-0")}
+ className={classNames(
+ "main my-4 flex flex-col transition-opacity sm:my-0 ",
+ isEmbed ? "" : " inset-0"
+ )}
aria-hidden="true">
<div
className={classNames(
- "main inline-block transform overflow-hidden rounded-lg border sm:my-8 sm:max-w-xl",
+ "inline-block transform overflow-hidden rounded-lg border sm:my-8 sm:max-w-xl",
!isBackgroundTransparent && " bg-default dark:bg-muted border-booker border-booker-width",
"px-8 pb-4 pt-5 text-left align-bottom transition-all sm:w-full sm:py-8 sm:align-middle"
)}