forked from github/cinny
correctly provide visibility
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user