Skip to content

Scheduling infrastructure for absolutely everyone.

fix: transcribe UI subtitle were blocking chat (#16097)

Peer Richelsen1adf2ad5a84b
diff --git a/apps/web/modules/videos/ai/ai-transcribe.tsx b/apps/web/modules/videos/ai/ai-transcribe.tsx
index 5e7bf9152ca..380f7d3c545 100644
--- a/apps/web/modules/videos/ai/ai-transcribe.tsx
+++ b/apps/web/modules/videos/ai/ai-transcribe.tsx
@@ -152,9 +152,10 @@ export const CalAiTranscribe = () => {
id="cal-ai-transcription"
style={{
textShadow: "0 0 20px black, 0 0 20px black, 0 0 20px black",
+ backgroundColor: "rgba(0,0,0,0.6)",
}}
ref={transcriptRef}
- className="max-h-full overflow-x-hidden overflow-y-scroll p-2 text-center text-white">
+ className="flex max-h-full justify-center overflow-x-hidden overflow-y-scroll p-2 text-center text-white">
{transcript
? transcript.split("\n").map((line, i) => (
<Fragment key={`transcript-${i}`}>
diff --git a/apps/web/modules/videos/views/videos-single-view.tsx b/apps/web/modules/videos/views/videos-single-view.tsx
index 95dac5e05bb..e40e8ce105e 100644
--- a/apps/web/modules/videos/views/videos-single-view.tsx
+++ b/apps/web/modules/videos/views/videos-single-view.tsx
@@ -94,7 +94,9 @@ export default function JoinCall(props: PageProps) {
<meta property="twitter:description" content={t("quick_video_meeting")} />
</Head>
<DailyProvider callObject={daily}>
- <div className="mx-auto" style={{ zIndex: 2, position: "absolute", bottom: 100, width: "100%" }}>
+ <div
+ className="mx-auto hidden sm:block"
+ style={{ zIndex: 2, left: "30%", position: "absolute", bottom: 100, width: "auto" }}>
<CalAiTranscribe />
</div>
<div style={{ zIndex: 2, position: "relative" }}>