correctly provide visibility

This commit is contained in:
Gigiaj 2025-05-09 14:17:39 -05:00
parent ae9cc7a548
commit 1cdc0680e8

View file

@ -179,7 +179,7 @@ export function PersistentCallContainer({ children }: PersistentCallContainerPro
position: 'absolute',
top: 0,
left: 0,
display: isPrimaryIframe || isViewingActiveCall ? 'none' : 'none',
display: isPrimaryIframe || isViewingActiveCall ? 'flex' : 'none',
width: '100%',
height: '100%',
border: 'none',
@ -198,8 +198,7 @@ export function PersistentCallContainer({ children }: PersistentCallContainerPro
width: '100%',
height: '100%',
border: 'none',
display: !isPrimaryIframe || isViewingActiveCall ? 'none' : 'flex',
display: !isPrimaryIframe || isViewingActiveCall ? 'flex' : 'none',
}}
title={`Persistent Element Call`}
sandbox="allow-forms allow-scripts allow-same-origin allow-popups allow-modals allow-downloads"