refac: markdown rendering

Co-Authored-By: Jun Siang Cheah <me@jscheah.me>
This commit is contained in:
Timothy J. BaekandJun Siang Cheah committed 2024-08-05 17:47:18 +02:00
1 parent 6e6f9862e6
commit ab6346ea1c
6 files changed
+173 -107

No files matched your search

+2 -2
View File
@@ -17,9 +17,9 @@
on:click={() => {
showImagePreview = true;
}}
class="w-full"
class=" w-fit"
>
<img src={_src} {alt} class=" max-h-96 rounded-lg" draggable="false" data-cy="image" />
<img src={_src} {alt} class=" max-h-96 rounded-lg w-full" draggable="false" data-cy="image" />
</button>
</div>
<ImagePreview bind:show={showImagePreview} src={_src} {alt} />