Skip to content

Commit

Permalink
feat: add padding and footer to rapidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobLinCool committed Jun 22, 2023
1 parent 99de30c commit 7a3aaf0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/routes/rapidoc/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,9 @@
{/if}
</svelte:head>

<rapi-doc bind:this={node} show-header={false} render-style="view" />
<rapi-doc bind:this={node} show-header={false} render-style="view">
<div class="pt-4" />
<div slot="footer" class="flex h-12 w-full items-center justify-center text-sm">
<span>Served by <a href="/" class="link-hover link"> {$page.url.host} </a></span>
</div>
</rapi-doc>

0 comments on commit 7a3aaf0

Please sign in to comment.