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

Co-authored-by: Carina Wollendorfer <[email protected]>
This commit is contained in:
Peer RichelsenandCarina Wollendorfer authored and GitHub committed 2024-08-14 13:33:17 +00:00
1 parent 3f2d83d89f
commit 1adf2ad5a8
2 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -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}`}>
@@ -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" }}>