- + {#if $backButton} + {/if} +

{$title} - {#if $copyData?.value} - - {$copyData.text} - - {/if} - {:else} - {$title} - {#if $copyData?.value} - - {$copyData.text} - - {/if} +

+ {#if $copyData?.value} + + {$copyData.text} + {/if}
From df2b59b2ffedb5e348a2a97c184d9e66de30d450 Mon Sep 17 00:00:00 2001 From: Arman Date: Fri, 8 Jul 2022 10:33:48 +0200 Subject: [PATCH 17/39] feat: add arrow positioning --- src/lib/components/dropList.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/components/dropList.svelte b/src/lib/components/dropList.svelte index 434ac1126..114c4cfa8 100644 --- a/src/lib/components/dropList.svelte +++ b/src/lib/components/dropList.svelte @@ -4,6 +4,7 @@ export let show = false; export let position: 'top' | 'bottom' = 'top'; export let horizontal: 'left' | 'right' = 'right'; + export let arrowPosition: 'start' | 'center' | 'end' = 'start'; export let arrow = true; let parentElement: HTMLDivElement; @@ -24,6 +25,8 @@ {#if show}
Date: Fri, 8 Jul 2022 10:43:36 +0200 Subject: [PATCH 18/39] fix: remove 12 hour format --- src/lib/helpers/date.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib/helpers/date.ts b/src/lib/helpers/date.ts index 2fb0c93ba..93a71d264 100644 --- a/src/lib/helpers/date.ts +++ b/src/lib/helpers/date.ts @@ -1,6 +1,11 @@ export const toLocaleDate = (timestamp: number) => { const date = new Date(timestamp * 1000); - const options: Intl.DateTimeFormatOptions = { year: 'numeric', month: 'long', day: 'numeric' }; + const options: Intl.DateTimeFormatOptions = { + year: 'numeric', + month: 'long', + day: 'numeric', + hour12: false + }; return date.toLocaleDateString('en', options); }; @@ -12,7 +17,8 @@ export const toLocaleDateTime = (timestamp: number) => { month: 'long', day: 'numeric', hour: 'numeric', - minute: 'numeric' + minute: 'numeric', + hour12: false }; return date.toLocaleDateString('en', options); From 581c9fb6c76dfedafa1449db200984f1aca81532 Mon Sep 17 00:00:00 2001 From: Arman Date: Fri, 8 Jul 2022 10:44:39 +0200 Subject: [PATCH 19/39] fix: from design review --- src/routes/console/[project]/users/index.svelte | 4 ++-- src/routes/console/[project]/users/teams.svelte | 2 +- src/routes/console/[project]/users/user/[user]/index.svelte | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/routes/console/[project]/users/index.svelte b/src/routes/console/[project]/users/index.svelte index 8c73294c4..ed5fdf3ec 100644 --- a/src/routes/console/[project]/users/index.svelte +++ b/src/routes/console/[project]/users/index.svelte @@ -62,7 +62,7 @@ } }}> @@ -70,7 +70,7 @@