diff --git a/src/routes/journals/+page.svelte b/src/routes/journals/+page.svelte index b494f5b1..f5ff140f 100644 --- a/src/routes/journals/+page.svelte +++ b/src/routes/journals/+page.svelte @@ -11,7 +11,8 @@ import { goto } from '$app/navigation'; import { BookPlus, FolderPlus, Library, - SquareLibrary + SquareLibrary, + Wrench } from '@lucide/svelte'; import { liveQuery } from "dexie"; import { Modal } from 'flowbite-svelte'; @@ -21,7 +22,7 @@ import { Modal } from 'flowbite-svelte'; import { db_journals } from "$lib/ae_journals/db_journals"; import { journals_func } from '$lib/ae_journals/ae_journals_functions'; import { ae_loc, ae_sess, ae_api, slct, slct_trigger } from '$lib/ae_stores'; -import { journals_loc, journals_slct, journals_trig } from '$lib/ae_journals/ae_journals_stores'; +import { journals_loc, journals_sess, journals_slct, journals_trig } from '$lib/ae_journals/ae_journals_stores'; import { ae_util } from '$lib/ae_utils/ae_utils'; interface Props { data: any; @@ -31,7 +32,6 @@ let { data }: Props = $props(); import Journal_obj_li from './ae_comp__journal_obj_li.svelte'; - import { journals_sess } from '$lib/ae_journals/ae_journals_stores'; // import Element_data_store from '$lib/element_data_store_v2.svelte'; @@ -161,24 +161,55 @@ async function create_journal() { Journals for {$ae_loc.account_name ?? 'Æ loading...'} -
+
+ + +
diff --git a/src/routes/journals/ae_comp__journal_entry_obj_id_view.svelte b/src/routes/journals/ae_comp__journal_entry_obj_id_view.svelte index bf14c93d..54f2e33d 100644 --- a/src/routes/journals/ae_comp__journal_entry_obj_id_view.svelte +++ b/src/routes/journals/ae_comp__journal_entry_obj_id_view.svelte @@ -726,7 +726,14 @@ $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="flex-grow w-full font-mono shadow-md rounded-lg border-gray-500 bg-gray-100 p-2" + 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 + " + >
{
+ class=" + flex-grow min-h-48 w-full h-full + p-2 + bg-white shadow-lg rounded-lg + border border-gray-200 dark:border-gray-700 + hover:border-gray-500 dark:hover:border-gray-500 + " + placeholder="Edit journal entry content here..." + > @@ -205,7 +205,7 @@ let tmp_entry_obj: key_val = $state({}); title="Copy the rich text (rendered HTML) content" > - + @@ -270,17 +270,21 @@ let tmp_entry_obj: key_val = $state({}); - - {#if journals_journal_entry_obj.content}
- {@html journals_journal_entry_obj.content} + {@html journals_journal_entry_obj.content}
diff --git a/src/routes/journals/ae_comp__journal_obj_li.svelte b/src/routes/journals/ae_comp__journal_obj_li.svelte index 7a0ab713..774e5a21 100644 --- a/src/routes/journals/ae_comp__journal_obj_li.svelte +++ b/src/routes/journals/ae_comp__journal_obj_li.svelte @@ -67,7 +67,7 @@ let { lq__journal_obj_li }: Props = $props();