From d5e05011db51f795cc4fa2a7339a5a3be2f92b4f Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Wed, 7 Jun 2023 19:17:29 +0300 Subject: [PATCH] UBER-421: Fixed attachment/comment icons (#3392) Signed-off-by: Alexander Platov --- packages/theme/styles/_layouts.scss | 2 +- packages/ui/src/components/icons/Attachment.svelte | 4 ++-- packages/ui/src/components/icons/Thread.svelte | 6 ++++-- .../src/components/CommentsPresenter.svelte | 8 ++++---- .../src/components/issues/edit/SubIssuesSelector.svelte | 4 ++-- 5 files changed, 13 insertions(+), 11 deletions(-) diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss index b9b67d8831..66556b7601 100644 --- a/packages/theme/styles/_layouts.scss +++ b/packages/theme/styles/_layouts.scss @@ -440,7 +440,7 @@ input.search { cursor: pointer; .icon { - margin-right: .25rem; + margin-right: .375rem; color: var(--theme-content-color); &.small-size { width: 1.5rem; diff --git a/packages/ui/src/components/icons/Attachment.svelte b/packages/ui/src/components/icons/Attachment.svelte index d1479587ee..a5e044665d 100644 --- a/packages/ui/src/components/icons/Attachment.svelte +++ b/packages/ui/src/components/icons/Attachment.svelte @@ -20,10 +20,10 @@ export let fill: string = 'currentColor' - + diff --git a/packages/ui/src/components/icons/Thread.svelte b/packages/ui/src/components/icons/Thread.svelte index 4783ec0aa9..bd52bef4f1 100644 --- a/packages/ui/src/components/icons/Thread.svelte +++ b/packages/ui/src/components/icons/Thread.svelte @@ -20,8 +20,10 @@ const fill: string = 'currentColor' - + diff --git a/plugins/chunter-resources/src/components/CommentsPresenter.svelte b/plugins/chunter-resources/src/components/CommentsPresenter.svelte index d74163549e..d16f2f8f40 100644 --- a/plugins/chunter-resources/src/components/CommentsPresenter.svelte +++ b/plugins/chunter-resources/src/components/CommentsPresenter.svelte @@ -27,7 +27,7 @@ export let withInput: boolean = true -{#if (value && value > 0) || withInput} +{#if value && value > 0} {#if kind === 'list'} @@ -40,9 +40,9 @@ >
- + {#if showCounter} -  {value ?? 0} + {value ?? 0} {/if}
@@ -57,7 +57,7 @@ > {#if showCounter && value && value !== 0} -  {value} + {value} {/if} {/if} diff --git a/plugins/tracker-resources/src/components/issues/edit/SubIssuesSelector.svelte b/plugins/tracker-resources/src/components/issues/edit/SubIssuesSelector.svelte index 34a0617ad1..4dafdebc78 100644 --- a/plugins/tracker-resources/src/components/issues/edit/SubIssuesSelector.svelte +++ b/plugins/tracker-resources/src/components/issues/edit/SubIssuesSelector.svelte @@ -150,8 +150,8 @@ {#if subIssues}
-
- +
+
{countComplete}/{subIssues.length}