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