style(journals): apply expanded 80-width formatting and snake_case
- Batch formatted all Journals module files using Prettier with printWidth: 80. - Refactored preventDefault to prevent_default across all Svelte components. - Standardized line breaks for imports and long attribute lists for better readability. - Ensured consistent snake_case naming for internal identifiers.
This commit is contained in:
@@ -17,16 +17,24 @@
|
||||
|
||||
<section class="journal-metadata w-full space-y-4">
|
||||
<!-- System Timestamps -->
|
||||
<div class="flex flex-col sm:flex-row justify-between items-center gap-2 px-1 text-xs text-surface-500">
|
||||
<div
|
||||
class="flex flex-col sm:flex-row justify-between items-center gap-2 px-1 text-xs text-surface-500"
|
||||
>
|
||||
<div class="flex gap-4">
|
||||
<span title="Creation date">
|
||||
<span class="font-semibold">Created:</span>
|
||||
{ae_util.iso_datetime_formatter(entry.created_on, 'datetime_12_long')}
|
||||
<span class="font-semibold">Created:</span>
|
||||
{ae_util.iso_datetime_formatter(
|
||||
entry.created_on,
|
||||
'datetime_12_long'
|
||||
)}
|
||||
</span>
|
||||
{#if entry.updated_on}
|
||||
<span title="Last update">
|
||||
<span class="font-semibold">Updated:</span>
|
||||
{ae_util.iso_datetime_formatter(entry.updated_on, 'datetime_12_long')}
|
||||
<span class="font-semibold">Updated:</span>
|
||||
{ae_util.iso_datetime_formatter(
|
||||
entry.updated_on,
|
||||
'datetime_12_long'
|
||||
)}
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user