Skip to content

Commit 059ca25

Browse files
authored
fix: prevent clicking outside (calcom#25588)
1 parent 35d6c41 commit 059ca25

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

apps/web/modules/videos/views/videos-single-view.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,8 @@ export function LogInOverlay(props: LogInOverlayProps) {
445445
<DialogContent
446446
title={t("join_video_call")}
447447
description={t("choose_how_you_d_like_to_appear_on_the_call")}
448-
className="p-6 sm:max-w-lg">
448+
className="p-6 sm:max-w-lg"
449+
onInteractOutside={(e) => e.preventDefault()}>
449450
<div className="mt-2 pb-4">
450451
<div className="stack-y-4">
451452
<div>
@@ -516,7 +517,7 @@ export function LogInOverlay(props: LogInOverlayProps) {
516517
{/* Divider */}
517518
<hr className="my-6 h-0.5 border-t-0 bg-neutral-100 dark:bg-white/10" />
518519

519-
<div className="mt-5 stack-y-4">
520+
<div className="stack-y-4 mt-5">
520521
<div>
521522
<h4 className="text-base font-semibold text-black dark:text-white">
522523
{t("sign_in_to_cal_com")}
@@ -568,7 +569,7 @@ export function VideoMeetingInfo(props: VideoMeetingInfo) {
568569
"no-scrollbar fixed left-0 top-0 z-30 flex h-full w-64 transform justify-between overflow-x-hidden overflow-y-scroll transition-all duration-300 ease-in-out",
569570
open ? "translate-x-0" : "-translate-x-[232px]"
570571
)}>
571-
<main className="prose-sm prose max-w-64 prose-a:text-white prose-h3:text-white prose-h3:font-cal scroll-bar scrollbar-track-w-20 w-full overflow-scroll overflow-x-hidden! border-r border-gray-300/20 bg-default p-4 text-white shadow-sm backdrop-blur-lg">
572+
<main className="prose-sm prose max-w-64 prose-a:text-white prose-h3:text-white prose-h3:font-cal scroll-bar scrollbar-track-w-20 overflow-x-hidden! bg-default w-full overflow-scroll border-r border-gray-300/20 p-4 text-white shadow-sm backdrop-blur-lg">
572573
<h3>{t("what")}:</h3>
573574
<p>{booking.title}</p>
574575
<h3>{t("invitee_timezone")}:</h3>

0 commit comments

Comments
 (0)