Skip to content

Commit ef4cee6

Browse files
Local preview: Ensure background blur is opaque to items behind it
1 parent 40e91e9 commit ef4cee6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

stylesheets/_modules.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4551,6 +4551,10 @@ button.module-image__border-overlay:focus {
45514551
bottom: 16px;
45524552
}
45534553

4554+
&__background {
4555+
background-color: variables.$color-gray-78;
4556+
}
4557+
45544558
&__video {
45554559
height: 100%;
45564560
width: 100%;

ts/components/CallScreen.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,10 @@ export function CallScreen({
508508
ref={setLocalPreviewContainer}
509509
/>
510510
) : (
511-
<CallBackgroundBlur avatarUrl={me.avatarUrl}>
511+
<CallBackgroundBlur
512+
className="module-ongoing-call__local-preview__background"
513+
avatarUrl={me.avatarUrl}
514+
>
512515
<Avatar
513516
avatarPlaceholderGradient={me.avatarPlaceholderGradient}
514517
avatarUrl={me.avatarUrl}

0 commit comments

Comments
 (0)