TSK-1324: update popups and colors (#3152)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2023-05-10 18:40:50 +07:00
committed by GitHub
parent d486dea298
commit 93268d4dbc
45 changed files with 293 additions and 223 deletions
@@ -18,6 +18,7 @@
import { LabelAndProps, LinkWrapper, tooltip } from '@hcengineering/ui'
export let value: string | string[] | undefined
export let oneLine: boolean = false
$: tooltipParams = getTooltip(value)
@@ -35,7 +36,7 @@
}
</script>
<span class="lines-limit-2 select-text" use:tooltip={tooltipParams}>
<span class="{oneLine ? 'overflow-label' : 'lines-limit-2'} select-text" use:tooltip={tooltipParams}>
{#if Array.isArray(value)}
{#each value as str, i}
<span class:ml-1={i !== 0}><LinkWrapper text={str} /></span>