Fix popups (#2384)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2022-11-17 11:29:58 +07:00
committed by GitHub
parent 126b7eb772
commit 7e03e8f59d
38 changed files with 139 additions and 106 deletions
@@ -14,7 +14,7 @@
-->
<script lang="ts">
import { Timestamp } from '@hcengineering/core'
import { closeTooltip, Label } from '@hcengineering/ui'
import { closeTooltip, Label, resizeObserver } from '@hcengineering/ui'
import { createEventDispatcher } from 'svelte'
import task from '../plugin'
import { TimestampPresenter } from '@hcengineering/view-resources'
@@ -42,7 +42,7 @@
]
</script>
<div class="selectPopup">
<div class="selectPopup" use:resizeObserver={() => dispatch('changeContent')}>
<div class="scroll">
<div class="box">
<div
@@ -17,7 +17,7 @@
import { Class, Doc, Ref, SortingOrder } from '@hcengineering/core'
import { createQuery } from '@hcengineering/presentation'
import { DoneState, SpaceWithStates } from '@hcengineering/task'
import { getPlatformColor, Label } from '@hcengineering/ui'
import { getPlatformColor, Label, resizeObserver } from '@hcengineering/ui'
import { createEventDispatcher } from 'svelte'
import task from '../../plugin'
import Won from '../icons/Won.svelte'
@@ -46,7 +46,7 @@
}
</script>
<div class="selectPopup">
<div class="selectPopup" use:resizeObserver={() => dispatch('changeContent')}>
<div class="scroll">
<div class="box">
{#each states as state}
@@ -17,7 +17,7 @@
import { Ref, SortingOrder } from '@hcengineering/core'
import { createQuery } from '@hcengineering/presentation'
import task, { SpaceWithStates, State } from '@hcengineering/task'
import { getPlatformColor } from '@hcengineering/ui'
import { getPlatformColor, resizeObserver } from '@hcengineering/ui'
import { createEventDispatcher } from 'svelte'
export let space: Ref<SpaceWithStates>
@@ -38,7 +38,7 @@
)
</script>
<div class="selectPopup">
<div class="selectPopup" use:resizeObserver={() => dispatch('changeContent')}>
<div class="scroll">
<div class="box">
{#each states as state}