diff --git a/packages/panel/src/components/Panel.svelte b/packages/panel/src/components/Panel.svelte index 5b67dfd458..28aabd4b79 100644 --- a/packages/panel/src/components/Panel.svelte +++ b/packages/panel/src/components/Panel.svelte @@ -18,7 +18,7 @@ import type { Doc } from '@anticrm/core' import type { Asset } from '@anticrm/platform' import type { AnyComponent, AnySvelteComponent } from '@anticrm/ui' - import { Icon, IconClose, IconExpand, IconMoreH, Component, ActionIcon } from '@anticrm/ui' + import { Icon, IconClose, IconExpand, IconMoreH, Component, ActionIcon, Scroller } from '@anticrm/ui' import { createEventDispatcher } from 'svelte' export let title: string @@ -31,183 +31,63 @@ const dispatch = createEventDispatcher() -
{ - dispatch('close') - }} -/> -
+
{ dispatch('close') }} /> +
{#if fullSize} -
-
- -
-
{title}
- {#if subtitle} -
{subtitle}
- {/if} +
+
+
+ {#if icon }
{/if} +
+ {title} + {#if subtitle }{subtitle}{/if} +
{#if $$slots.subtitle} -
-
+
+
{/if} -
-
- -
-
+ +
+
-
+
{:else} -
-
- -
-
{title}
-
Candidate pool name
+
+
+ {#if icon }
{/if} +
+ {title} + {#if subtitle }{subtitle}{/if}
-
- {#if $$slots.subtitle}
{/if} - - - - +
+ {#if $$slots.subtitle} +
+
+ +
+
+ {/if} + + + {/if} -
-
{ - fullSize = !fullSize - }} - > -
+
+
+ { fullSize = !fullSize }} />
-
{ - dispatch('close') - }} - > -
+
+ { dispatch('close') }} />
- - diff --git a/packages/presentation/src/components/SpaceInfo.svelte b/packages/presentation/src/components/SpaceInfo.svelte index 579a3573f7..c8000e1171 100644 --- a/packages/presentation/src/components/SpaceInfo.svelte +++ b/packages/presentation/src/components/SpaceInfo.svelte @@ -24,10 +24,10 @@
-
- @@ -40,19 +40,4 @@ width: 2.25rem; height: 2.25rem; } - .user-info { - margin-left: .5rem; - color: var(--theme-content-accent-color); - - .subtitle { - font-size: .75rem; - color: var(--theme-content-dark-color); - } - .title { - text-align: left; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } - } - \ No newline at end of file + diff --git a/packages/presentation/src/components/UserBox.svelte b/packages/presentation/src/components/UserBox.svelte index e9ab100856..0de693e9f9 100644 --- a/packages/presentation/src/components/UserBox.svelte +++ b/packages/presentation/src/components/UserBox.svelte @@ -96,7 +96,7 @@
-
+
{#if selected}{getName(selected)}{:else}
@@ -115,6 +115,7 @@ .selectUser { margin-left: .75rem; + min-width: 0; .title { font-size: .75rem; font-weight: 500; diff --git a/packages/presentation/src/components/UserInfo.svelte b/packages/presentation/src/components/UserInfo.svelte index 10521d0d06..f6f4bf3215 100644 --- a/packages/presentation/src/components/UserInfo.svelte +++ b/packages/presentation/src/components/UserInfo.svelte @@ -25,26 +25,8 @@
- - - \ No newline at end of file diff --git a/packages/presentation/src/components/UsersPopup.svelte b/packages/presentation/src/components/UsersPopup.svelte index 380db35de0..2a1f2bd7c2 100644 --- a/packages/presentation/src/components/UsersPopup.svelte +++ b/packages/presentation/src/components/UsersPopup.svelte @@ -53,9 +53,7 @@
{#each objects as person}