fix(website): render imgs inline
Some checks failed
Test & Lint / lint (push) Has been cancelled

This commit is contained in:
daimond113 2024-12-15 12:37:24 +01:00
parent 3196a83b25
commit 0dde647042
No known key found for this signature in database
GPG key ID: 3A8ECE51328B513C

View file

@ -2,7 +2,9 @@
const { data } = $props()
</script>
<div class="prose min-w-0 py-8 prose-pre:w-full prose-pre:overflow-auto">
<div
class="prose prose-pre:w-full prose-pre:overflow-auto prose-img:inline-block prose-img:m-0 prose-video:inline-block prose-video:m-0 min-w-0 py-8"
>
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
{@html data.readmeHtml}
</div>