Actually fix local preview container size

This commit is contained in:
Fedor Indutny
2025-04-08 13:49:08 -07:00
committed by GitHub
parent 06f1832f35
commit e9fb9ef31c
2 changed files with 5 additions and 2 deletions

View File

@@ -4502,7 +4502,7 @@ button.module-image__border-overlay:focus {
}
&__local-preview-container {
width: 100%;
display: contents;
}
&__local-preview-fullsize {

View File

@@ -489,7 +489,10 @@ export function CallScreen({
)}
>
{isSendingVideo ? (
<div ref={setLocalPreviewContainer} />
<div
className="module-ongoing-call__local-preview-container"
ref={setLocalPreviewContainer}
/>
) : (
<CallBackgroundBlur avatarUrl={me.avatarUrl}>
<div className="module-calling__spacer module-calling__camera-is-off-spacer" />