Style improvements
This commit is contained in:
@@ -724,19 +724,32 @@ $effect(() => {
|
||||
}}
|
||||
role={$ae_loc.edit_mode ? 'button' : 'article'}
|
||||
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="
|
||||
flex-grow min-h-48 w-full max-w-6xl
|
||||
p-2
|
||||
font-mono shadow-md rounded-lg
|
||||
border border-gray-200 dark:border-gray-700
|
||||
hover:border-gray-500 dark:hover:border-gray-500
|
||||
flex-grow
|
||||
flex flex-col items-center justify-center
|
||||
"
|
||||
|
||||
>
|
||||
<article
|
||||
class="prose"
|
||||
class:border-orange-200={$ae_loc.edit_mode}
|
||||
class:hover:border-orange-500={$ae_loc.edit_mode}
|
||||
class="
|
||||
prose
|
||||
flex-grow
|
||||
h-full min-h-48 w-full min-w-full max-w-6xl
|
||||
p-2
|
||||
font-mono
|
||||
!bg-slate-100 !text-gray-900
|
||||
dark:!bg-slate-900 dark:!text-gray-100
|
||||
dark:prose-invert
|
||||
shadow-md rounded-lg
|
||||
border border-gray-200 dark:border-gray-700
|
||||
hover:border-gray-500 dark:hover:border-gray-500
|
||||
prose-h1:text-2xl prose-h2:text-xl prose-h3:text-lg
|
||||
prose-h1:m-0 prose-h2:m-0 prose-h3:m-0 prose-h4:m-0 prose-h5:m-0 prose-h6:m-0
|
||||
"
|
||||
id="rendered_journal_entry_content_{$lq__journal_entry_obj?.journal_entry_id}"
|
||||
>
|
||||
{@html $lq__journal_entry_obj?.content_md_html}
|
||||
@@ -761,11 +774,14 @@ $effect(() => {
|
||||
$journals_loc.entry.edit_kv[$lq__journal_entry_obj?.journal_entry_id] = $journals_loc.entry.edit;
|
||||
}
|
||||
}}
|
||||
class:bg-orange-100={$ae_loc.edit_mode}
|
||||
class:border-orange-200={$ae_loc.edit_mode}
|
||||
class:hover:border-orange-500={$ae_loc.edit_mode}
|
||||
class="
|
||||
flex-grow min-h-48 w-full h-full
|
||||
flex-grow min-h-48 h-full w-full
|
||||
p-2
|
||||
bg-white shadow-lg rounded-lg
|
||||
bg-slate-100 text-gray-900
|
||||
dark:bg-slate-900 dark:text-gray-100
|
||||
shadow-lg rounded-lg
|
||||
border border-gray-200 dark:border-gray-700
|
||||
hover:border-gray-500 dark:hover:border-gray-500
|
||||
"
|
||||
|
||||
@@ -276,7 +276,9 @@ let tmp_entry_obj: key_val = $state({});
|
||||
class="
|
||||
journal__content
|
||||
w-full p-1
|
||||
bg-white shadow-lg rounded-lg
|
||||
bg-slate-100 text-gray-900
|
||||
dark:bg-slate-900 dark:text-gray-100
|
||||
shadow-lg rounded-lg
|
||||
border border-gray-200 dark:border-gray-700
|
||||
hover:border-gray-500 dark:hover:border-gray-500
|
||||
text-wrap text-sm font-mono whitespace-pre-wrap
|
||||
|
||||
Reference in New Issue
Block a user