Fixed height bug when viewing Entry
This commit is contained in:
@@ -726,19 +726,20 @@ $effect(() => {
|
||||
tabindex={$ae_loc.edit_mode ? 0 : -1}
|
||||
class:bg-orange-100={$ae_loc.edit_mode}
|
||||
class:hidden={!$ae_loc.trusted_access || $journals_loc.entry.edit_kv[$lq__journal_entry_obj?.journal_entry_id]}
|
||||
class="w-full font-mono shadow-md rounded-lg border-gray-500 bg-gray-100 p-2"
|
||||
class="flex-grow w-full font-mono shadow-md rounded-lg border-gray-500 bg-gray-100 p-2"
|
||||
>
|
||||
<article
|
||||
class="prose"
|
||||
id="rendered_journal_entry_content_{$lq__journal_entry_obj?.journal_entry_id}">
|
||||
{@html $lq__journal_entry_obj?.content_md_html}
|
||||
id="rendered_journal_entry_content_{$lq__journal_entry_obj?.journal_entry_id}"
|
||||
>
|
||||
{@html $lq__journal_entry_obj?.content_md_html}
|
||||
</article>
|
||||
<!-- {@html marked.parse($lq__journal_entry_obj?.content)} -->
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="flex-grow flex flex-col items-center justify-center w-full max-w-6xl"
|
||||
class:hidden={!$journals_loc.entry.edit_kv[$lq__journal_entry_obj?.journal_entry_id] && $lq__journal_entry_obj?.content?.length}
|
||||
class="flex-grow flex flex-col items-center justify-center w-full max-w-6xl"
|
||||
>
|
||||
|
||||
<textarea
|
||||
|
||||
Reference in New Issue
Block a user