mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +00:00
Fixed full-screen pop-up (#7696)
Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
parent
4820785009
commit
de7ffde86f
@ -375,9 +375,9 @@ export function fitPopupElement (
|
||||
} else if (element === 'full-centered') {
|
||||
const rect = contentPanel !== undefined ? contentPanel.getBoundingClientRect() : { top: 0 }
|
||||
newProps.top = `${Math.max(20, rect.top + 1)}px`
|
||||
newProps.bottom = '20px'
|
||||
newProps.left = '20px'
|
||||
newProps.right = '20px'
|
||||
newProps.bottom = '.5rem'
|
||||
newProps.left = '.5rem'
|
||||
newProps.right = '.5rem'
|
||||
show = true
|
||||
} else if (element === 'content' && contentPanel !== undefined) {
|
||||
const rect = contentPanel.getBoundingClientRect()
|
||||
|
@ -387,7 +387,7 @@
|
||||
$: activeParticipants = getActiveParticipants(participants)
|
||||
</script>
|
||||
|
||||
<div bind:this={roomEl} class="flex-col-center w-full h-full right-navpanel-border" class:theme-dark={$isFullScreen}>
|
||||
<div bind:this={roomEl} class="flex-col-center w-full h-full" class:theme-dark={$isFullScreen}>
|
||||
{#if $isConnected && !$isCurrentInstanceConnected}
|
||||
<div class="flex justify-center error h-full w-full clear-mins">
|
||||
<Label label={love.string.AnotherWindowError} />
|
||||
|
Loading…
Reference in New Issue
Block a user