Browse Source

widen the event json view, to make reading and copy-pasting easier

master
Silberengel 11 months ago
parent
commit
31cbe20d1f
  1. 4
      src/lib/components/util/CardActions.svelte

4
src/lib/components/util/CardActions.svelte

@ -138,8 +138,8 @@
</Popover> </Popover>
{/if} {/if}
<!-- Event JSON --> <!-- Event JSON -->
<Modal class='modal-leather' title='Event JSON' bind:open={jsonModalOpen} autoclose outsideclose size='sm'> <Modal class='modal-leather' title='Event JSON' bind:open={jsonModalOpen} autoclose outsideclose size='lg'>
<div class="overflow-auto bg-highlight dark:bg-primary-900 text-sm rounded p-1"> <div class="overflow-auto bg-highlight dark:bg-primary-900 text-sm rounded p-1" style="max-height: 70vh;">
<pre><code>{JSON.stringify(event.rawEvent(), null, 2)}</code></pre> <pre><code>{JSON.stringify(event.rawEvent(), null, 2)}</code></pre>
</div> </div>
</Modal> </Modal>

Loading…
Cancel
Save