Skip to content

Commit

Permalink
Use span instead of pre
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Feb 13, 2024
1 parent ed5fce3 commit be66db4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/components/ModelTable/ModelTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
{#if component}
<svelte:component this={component} meta={row.meta ?? {}} cell={value}/>
{:else}
<pre class="font-token whitespace-pre-line break-words">
<span class="font-token whitespace-pre-line break-words">
{#if Array.isArray(value)}
<ul class="list-disc pl-4 whitespace-normal">
{#each value as val}
Expand Down Expand Up @@ -230,7 +230,7 @@
{:else}
{value ?? '-'}
{/if}
</pre>
</span>
{/if}
</td>
{/if}
Expand Down

0 comments on commit be66db4

Please sign in to comment.