Code clean up. Fewer warnings...

This commit is contained in:
Scott Idem
2024-12-03 11:36:24 -05:00
parent 0032d52ff9
commit 971ffbad02
4 changed files with 39 additions and 11 deletions

View File

@@ -107,7 +107,10 @@ onDestroy(() => {
</div> -->
<div class="post__content space-y-2">
<pre class="post__content p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal whitespace-pre-wrap">{@html $lq__post_obj?.content}</pre>
<!-- <pre class="post__content p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal whitespace-pre-wrap">{@html $lq__post_obj?.content}</pre> -->
<div class="post__content p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal reset_css">{@html $lq__post_obj?.content}</div>
{#if $lq__post_obj?.linked_li_json && $lq__post_obj?.linked_li_json.length}
<div class="ae_section flex flex-row flex-wrap gap-1 items-center justify-center">
@@ -336,4 +339,5 @@ onDestroy(() => {
<style lang="scss">
</style>

View File

@@ -39,7 +39,8 @@ onMount(() => {
</h3>
</header>
{#if idaa_post_obj.content}<pre class="post__content p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal whitespace-pre-wrap">{@html idaa_post_obj.content}</pre>{/if}
<!-- {#if idaa_post_obj.content}<pre class="post__content p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal whitespace-pre-wrap reset_css">{@html idaa_post_obj.content}</pre>{/if} -->
{#if idaa_post_obj.content}<div class="post__content w-full p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal reset_css">{@html idaa_post_obj.content}</div>{/if}
<div class="ae_options flex flex-row gap-2 items-center justify-center">
<button