Skip to content

Commit

Permalink
fix: respect new line in TM preview, use pre
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidsowardx committed Dec 21, 2022
1 parent fac44fc commit 5323761
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/transaction/[transaction]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
<InfoBox {entries} loading={false} />
<Box>
<Text bold mb="medium">Transaction manifest</Text>
{manifest ? manifest : 'No manifest'}
<pre style="white-space: pre-wrap; word-break: break-word;">{manifest
? manifest
: 'No manifest'}</pre>
</Box>
{/if}
</Box>

0 comments on commit 5323761

Please sign in to comment.