Minor improvements and fixes for Journals searching and styles.

This commit is contained in:
Scott Idem
2025-08-22 14:35:15 -04:00
parent f3ee4ee987
commit 8a9864771b
4 changed files with 421 additions and 429 deletions

View File

@@ -181,9 +181,11 @@ let lq__journal_obj = $derived(liveQuery(async () => {
<a href="/journals"
class="
btn btn-sm
variant-outline-tertiary
hover:preset-filled-tertiary-500
transition
preset-tonal-tertiary
preset-outlined-tertiary-600-400
hover:preset-outlined-tertiary-700-300
hover:preset-filled-tertiary-100-900
transition-all
"
title="View all journals for this account: {$ae_loc.account_name}"
>
@@ -201,9 +203,10 @@ let lq__journal_obj = $derived(liveQuery(async () => {
href="/journals/{$journals_slct?.journal_id}"
class="
btn btn-sm
preset-tonal-tertiary border border-tertiary-500
hover:preset-filled-tertiary-500
transition
preset-tonal-tertiary
preset-outlined-tertiary-600-400
hover:preset-filled-tertiary-100-900
transition-all
"
title="View all journal entries for this journal: {$lq__journal_obj?.name}"
>
@@ -247,10 +250,14 @@ let lq__journal_obj = $derived(liveQuery(async () => {
Edit Journal
</span>
</button> -->
<Journal_entry_obj_qry
log_lvl={log_lvl}
lq__journal_obj={lq__journal_obj}
/>
{/if}
<!-- Add default journal entry -->
<span class="flex flex-row flex-wrap items-center justify-center gap-1">
<span class="flex flex-row flex-wrap items-center justify-center gap-2">
<!-- <span class="text-sm text-gray-500 hidden md:inline">
New entry:
</span> -->
@@ -294,9 +301,10 @@ let lq__journal_obj = $derived(liveQuery(async () => {
}}
class="
btn btn-sm
preset-tonal-secondary border border-secondary-500
hover:preset-filled-secondary-500
transition
preset-tonal-tertiary
preset-outlined-tertiary-600-400
hover:preset-filled-tertiary-100-900
transition-all
"
title="Create a new journal entry for this journal: {$lq__journal_obj?.name}"
>
@@ -307,10 +315,7 @@ let lq__journal_obj = $derived(liveQuery(async () => {
</span>
</button>
<Journal_entry_obj_qry
log_lvl={log_lvl}
lq__journal_obj={lq__journal_obj}
/>
</span>