Style improvements
This commit is contained in:
@@ -935,6 +935,7 @@ $effect(async () => {
|
||||
shadow-lg rounded-lg
|
||||
border border-red-200 dark:border-red-700
|
||||
hover:border-red-500 dark:hover:border-red-500
|
||||
|
||||
"
|
||||
>
|
||||
The entry must be decrypted before it can be edited.
|
||||
@@ -959,7 +960,8 @@ $effect(async () => {
|
||||
{:else}
|
||||
<div
|
||||
class="
|
||||
flex-grow flex flex-col items-center justify-center
|
||||
flex-grow
|
||||
flex flex-col items-center justify-center
|
||||
w-full max-w-6xl
|
||||
"
|
||||
>
|
||||
@@ -977,7 +979,9 @@ $effect(async () => {
|
||||
class:border-orange-200={$ae_loc.edit_mode}
|
||||
class:hover:border-orange-500={$ae_loc.edit_mode}
|
||||
class="
|
||||
flex-grow min-h-48 h-full w-full
|
||||
space-y-1
|
||||
flex-grow
|
||||
h-full min-h-max max-h-full w-full min-w-full max-w-6xl
|
||||
p-2
|
||||
font-mono
|
||||
bg-slate-100 text-gray-900
|
||||
|
||||
@@ -432,10 +432,10 @@ $effect(() => {
|
||||
border border-gray-200 dark:border-gray-700
|
||||
text-wrap text-sm font-mono whitespace-pre-wrap
|
||||
delay-1000 duration-300 hover:delay-1000 hover:duration-300 transition-all hover:transition-all ease-out
|
||||
hover:z-10 hover:h-auto hover:max-h-full
|
||||
hover:z-10 hover:h-auto
|
||||
hover:bg-blue-100 hover:border-blue-500 dark:hover:border-blue-500
|
||||
{$journals_slct.journal_obj.cfg_json.entry_li_max_height ? `${$journals_slct.journal_obj.cfg_json.entry_li_max_height} overflow-scroll` : ''}
|
||||
{$journals_slct.journal_obj.cfg_json.entry_li_hover_max_height ? `${$journals_slct.journal_obj.cfg_json.entry_li_hover_max_height}` : ''}
|
||||
{$journals_slct.journal_obj.cfg_json.entry_li_hover_max_height ? `${$journals_slct.journal_obj.cfg_json.entry_li_hover_max_height} hover:overflow-scroll` : ''}
|
||||
"
|
||||
>
|
||||
{@html journals_journal_entry_obj.content}
|
||||
|
||||
Reference in New Issue
Block a user