From e5b1814e250a493868c49100432a40575ffedc46 Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Thu, 9 Sep 2021 10:36:07 +0300 Subject: [PATCH] Layout SpaceSelect (#169) Signed-off-by: Alexander Platov --- .../presentation/src/components/Card.svelte | 19 +---- .../src/components/SpaceInfo.svelte | 14 +++- .../src/components/SpaceSelect.svelte | 82 +++++++++---------- .../src/components/SpacesPopup.svelte | 30 +++---- .../src/components/UsersPopup.svelte | 1 + 5 files changed, 61 insertions(+), 85 deletions(-) diff --git a/packages/presentation/src/components/Card.svelte b/packages/presentation/src/components/Card.svelte index a25c9da7ee..d9e42988a6 100644 --- a/packages/presentation/src/components/Card.svelte +++ b/packages/presentation/src/components/Card.svelte @@ -24,7 +24,6 @@ // import ScrollBox from './ScrollBox.svelte' import Button from '@anticrm/ui/src/components/Button.svelte' import Label from '@anticrm/ui/src/components/Label.svelte' - import IconFolder from '@anticrm/ui/src/components/icons/Folder.svelte' import SpaceSelect from './SpaceSelect.svelte' export let spaceClass: Ref> @@ -45,12 +44,7 @@
-
Project
-
- - Select Project -
- +
@@ -91,17 +85,6 @@ background-color: #fff; opacity: .1; } - .label { - margin-bottom: .125rem; - font-weight: 500; - font-size: .75rem; - color: var(--theme-content-accent-color); - } - .icon { - transform-origin: center center; - transform: scale(.75); - margin-right: .25rem; - } } .card-bg { diff --git a/packages/presentation/src/components/SpaceInfo.svelte b/packages/presentation/src/components/SpaceInfo.svelte index 91f69eb030..21cfb4f50a 100644 --- a/packages/presentation/src/components/SpaceInfo.svelte +++ b/packages/presentation/src/components/SpaceInfo.svelte @@ -14,17 +14,17 @@ -->
- +
diff --git a/packages/presentation/src/components/SpacesPopup.svelte b/packages/presentation/src/components/SpacesPopup.svelte index 039909ac89..4d05b5c089 100644 --- a/packages/presentation/src/components/SpacesPopup.svelte +++ b/packages/presentation/src/components/SpacesPopup.svelte @@ -23,8 +23,6 @@ import { createQuery } from '../utils' export let _class: Ref> - export let title: IntlString - export let caption: IntlString let search: string = '' let objects: Space[] = [] @@ -35,14 +33,13 @@