mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 09:35:00 +02:00
UBER-504: fix presenters on ListItem. Add DeviceSizes. (#3463)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
export let size: ButtonSize = 'small'
|
||||
export let justify: 'left' | 'center' = 'left'
|
||||
export let width: string | undefined = 'min-contet'
|
||||
export let compactMode: boolean = false
|
||||
|
||||
let btn: HTMLElement
|
||||
|
||||
@@ -150,9 +151,11 @@
|
||||
<svelte:fragment slot="content">
|
||||
{#if subIssues}
|
||||
<div class="flex-row-center content-color text-sm pointer-events-none">
|
||||
<div class="mr-1-5">
|
||||
<ProgressCircle bind:value={countComplete} bind:max={subIssues.length} size={'small'} primary />
|
||||
</div>
|
||||
{#if !compactMode}
|
||||
<div class="mr-1-5">
|
||||
<ProgressCircle bind:value={countComplete} bind:max={subIssues.length} size={'small'} primary />
|
||||
</div>
|
||||
{/if}
|
||||
{countComplete}/{subIssues.length}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user