mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-30 13:35:04 +02:00
TSK-1324: update popups and colors (#3152)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user