Skip to content

Commit 7a3aaf0

Browse files
committed
feat: add padding and footer to rapidoc
1 parent 99de30c commit 7a3aaf0

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/routes/rapidoc/+page.svelte

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,9 @@
4040
{/if}
4141
</svelte:head>
4242

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

0 commit comments

Comments
 (0)