From 18043e1c910b00b85a485704f082b8f2ca526471 Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Thu, 8 Feb 2024 21:22:58 +0300 Subject: [PATCH] Fixed todos in Planner (#4584) Signed-off-by: Alexander Platov --- packages/theme/styles/components.scss | 3 ++- packages/ui/src/components/AccordionItem.svelte | 5 +++-- .../src/components/TagReferencePresenter.svelte | 1 + .../src/components/TagsReferencePresenter.svelte | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/theme/styles/components.scss b/packages/theme/styles/components.scss index 0256035704..58404c1bcd 100644 --- a/packages/theme/styles/components.scss +++ b/packages/theme/styles/components.scss @@ -509,6 +509,7 @@ display: flex; justify-content: space-between; align-items: flex-start; + gap: var(--spacing-1); margin: 0; padding: var(--spacing-1) var(--spacing-1_5) var(--spacing-1) var(--spacing-0_75); width: 100%; @@ -520,7 +521,7 @@ outline: none; &.small { - max-height: var(--global-medium-Size); + max-height: var(--global-max-Size); } .hulyToDoLine-dragbox, diff --git a/packages/ui/src/components/AccordionItem.svelte b/packages/ui/src/components/AccordionItem.svelte index afacb8af5b..e76e1a595c 100644 --- a/packages/ui/src/components/AccordionItem.svelte +++ b/packages/ui/src/components/AccordionItem.svelte @@ -25,6 +25,7 @@ export let icon: Asset | AnySvelteComponent | ComponentType | undefined = undefined export let iconProps: any | undefined = undefined export let size: 'small' | 'medium' | 'large' + export let kind: 'default' | 'second' = 'default' export let nested: boolean = false export let isOpen: boolean = false export let selected: boolean = false @@ -35,9 +36,9 @@ export let background: string | undefined = undefined -
+
{:else if kind === 'todo'} -
+
{/if} @@ -54,6 +54,7 @@