Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Dec 20, 2024
1 parent caf1a76 commit a97f3da
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
4 changes: 3 additions & 1 deletion frontend/src/lib/components/ModelTable/ModelTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,9 @@
<svelte:component this={component} {meta} cell={value} />
</div>
{:else}
<span class="flex font-token whitespace-pre-line break-words justify-center items-center">
<span
class="flex font-token whitespace-pre-line break-words justify-center items-center"
>
{#if Array.isArray(value)}
<ul class="list-disc pl-4 whitespace-normal">
{#each value as val}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,19 +177,19 @@
>
<div slot="addRiskAnalysis">
<button class="flex flex-col text-left hover:text-purple-800" on:click={modalCreateForm}>
{#if data.data.meta.workshops[4].steps[0].status == 'done'}
<span
class="absolute flex items-center justify-center w-8 h-8 bg-success-200 rounded-full -start-4 ring-4 ring-white"
>
<i class="fa-solid fa-check" />
</span>
{:else}
<span
class="absolute flex items-center justify-center w-8 h-8 bg-surface-200 rounded-full -start-4 ring-4 ring-white"
>
<i class="fa-solid fa-clipboard-check" />
</span>
{/if}
{#if data.data.meta.workshops[4].steps[0].status == 'done'}
<span
class="absolute flex items-center justify-center w-8 h-8 bg-success-200 rounded-full -start-4 ring-4 ring-white"
>
<i class="fa-solid fa-check" />
</span>
{:else}
<span
class="absolute flex items-center justify-center w-8 h-8 bg-surface-200 rounded-full -start-4 ring-4 ring-white"
>
<i class="fa-solid fa-clipboard-check" />
</span>
{/if}
<h3 class="font-medium leading-tight">{m.activity()} 1</h3>
<p class="text-sm">{safeTranslate(m.ebiosWs5_1())}</p>
</button>
Expand Down

0 comments on commit a97f3da

Please sign in to comment.