Skip to content

Commit

Permalink
fix: whitespace handling text view (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
cabreraalex authored Sep 27, 2023
1 parent 25a78f4 commit 71bf6bb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
{#await resolveDataPoint(entry)}
<CircularProgress style="height: 32px; width: 32px; margin-right:20px" indeterminate />
{:then textData}
<p class="text-grey">
<p class="text-grey whitespace-pre-wrap">
<span class="font-semibold">input: </span>
{textData}
</p>
{/await}
{#if entry['label'] !== undefined}
<p class="mt-2 text-grey">
<p class="mt-2 text-grey whitespace-pre-wrap">
<span class="font-semibold">label: </span>
{entry['label']}
</p>
{/if}
{#if modelColumn && entry[modelColumn] !== undefined}
<hr class="mt-2 mb-2 text-grey-darker" />
<p class=" text-grey">
<p class=" text-grey whitespace-pre-wrap">
<span class="font-semibold">output: </span>
{entry[modelColumn]}
</p>
Expand Down

0 comments on commit 71bf6bb

Please sign in to comment.