Style fixes

This commit is contained in:
Scott Idem
2025-04-01 19:24:46 -04:00
parent f6449b48e6
commit 7f1759ed4b
2 changed files with 15 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ import { clipboard } from '@skeletonlabs/skeleton';
import { import {
ArrowDown01, ArrowDown10, ArrowDownUp, ArrowDown01, ArrowDown10, ArrowDownUp,
BookHeart, BriefcaseBusiness, BookHeart, BriefcaseBusiness,
CalendarClock, CalendarOff, CodeXml, CalendarClock, CalendarOff, CodeXml, Copy,
Eye, EyeOff, Eye, EyeOff,
Flag, FlagOff, FileX, Fingerprint, Flag, FlagOff, FileX, Fingerprint,
Globe, Group, Globe, Group,
@@ -167,8 +167,8 @@ $effect(() => {
class="btn btn-sm p-1 variant-soft-secondary *:hover:inline lg:text-xs" class="btn btn-sm p-1 variant-soft-secondary *:hover:inline lg:text-xs"
title="Copy the markdown content" title="Copy the markdown content"
> >
<span class="fas fa-copy mx-1"></span> <Copy size="1em" />
<RemoveFormatting /> <RemoveFormatting size="2em" />
<span class="hidden"> <span class="hidden">
Copy Plaintext Markdown Copy Plaintext Markdown
</span> </span>
@@ -190,8 +190,8 @@ $effect(() => {
class="btn btn-sm p-1 variant-soft-secondary *:hover:inline lg:text-xs" class="btn btn-sm p-1 variant-soft-secondary *:hover:inline lg:text-xs"
title="Copy the rendered HTML content" title="Copy the rendered HTML content"
> >
<span class="fas fa-copy mx-1"></span> <Copy size="1em" />
<CodeXml /> <CodeXml size="2em" />
<span class="hidden"> <span class="hidden">
Copy Rendered HTML Copy Rendered HTML
</span> </span>

View File

@@ -5,7 +5,7 @@ let log_lvl: number = 1;
import { goto, invalidate, pushState, replaceState } from '$app/navigation'; import { goto, invalidate, pushState, replaceState } from '$app/navigation';
import { import {
CalendarClock, CodeXml, CalendarClock, CodeXml, Copy,
Eye, EyeOff, Eye, EyeOff,
Flag, FlagOff, Flag, FlagOff,
NotebookPen, NotebookText, NotebookPen, NotebookText,
@@ -91,11 +91,12 @@ let tmp_entry_obj: key_val = $state({});
alert('Failed to copy content.'); alert('Failed to copy content.');
}); });
}} }}
class="btn btn-sm p-1 variant-soft-secondary *:hover:inline lg:text-xs" class="btn btn-sm p-1 variant-soft-secondary hover:variant-filled-secondary *:hover:inline lg:text-xs"
title="Copy the markdown content" title="Copy the markdown content"
> >
<span class="fas fa-copy mx-1"></span> <!-- <span class="fas fa-copy mx-1"></span> -->
<RemoveFormatting /> <Copy size="1em" />
<RemoveFormatting size="2em" />
<span class="hidden"> <span class="hidden">
Copy Plaintext Markdown Copy Plaintext Markdown
</span> </span>
@@ -116,11 +117,12 @@ let tmp_entry_obj: key_val = $state({});
alert('Failed to copy HTML content.'); alert('Failed to copy HTML content.');
}); });
}} }}
class="btn btn-sm p-1 variant-soft-secondary *:hover:inline lg:text-xs" class="btn btn-sm p-1 variant-soft-secondary hover:variant-filled-secondary *:hover:inline lg:text-xs"
title="Copy the rendered HTML content" title="Copy the rendered HTML content"
> >
<span class="fas fa-copy mx-1"></span> <!-- <span class="fas fa-copy mx-1"></span> -->
<CodeXml /> <Copy size="1em" />
<CodeXml size="2em" />
<span class="hidden"> <span class="hidden">
Copy Rendered HTML Copy Rendered HTML
</span> </span>
@@ -163,7 +165,7 @@ let tmp_entry_obj: key_val = $state({});
console.log('$journals_loc.filter__category_code', $journals_loc.filter__category_code); console.log('$journals_loc.filter__category_code', $journals_loc.filter__category_code);
} }
}} }}
class="btn btn-sm variant-ghost-secondary hover:variant-filled-secondary transition py-1 px-2" class="btn btn-sm variant-outline-secondary hover:variant-filled-secondary transition py-1 px-2"
title={`Filter by category: ${journals_journal_entry_obj.category_code}`} title={`Filter by category: ${journals_journal_entry_obj.category_code}`}
> >
<Shapes class="mx-1 inline-block"/> <Shapes class="mx-1 inline-block"/>