refac: markdown rendering

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

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} />