Working on the style

This commit is contained in:
Scott Idem
2024-11-13 20:04:50 -05:00
parent 53f2f5dbc5
commit 8df0bdf0cc

View File

@@ -107,7 +107,7 @@ onDestroy(() => {
/> />
{:else} {:else}
<div class="post__content"> <div class="post__content space-y-2">
<pre class="post__content p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal whitespace-pre-wrap">{@html $idaa_slct.post_obj.content}</pre> <pre class="post__content p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal whitespace-pre-wrap">{@html $idaa_slct.post_obj.content}</pre>
{#if $idaa_slct.post_obj.linked_li_json && $idaa_slct.post_obj.linked_li_json.length} {#if $idaa_slct.post_obj.linked_li_json && $idaa_slct.post_obj.linked_li_json.length}
@@ -171,7 +171,7 @@ onDestroy(() => {
{/if} {/if}
</div> </div>
<section class="ae_section ae_meta post__meta text-sm text-gray-500 mt-4 flex flex-row gap-2 items-center justify-between"> <section class="ae_section ae_meta post__meta text-xs text-gray-500 mt-4 flex flex-row gap-2 items-center justify-between">
<div class="ae_group flex flex-col gap-1"> <div class="ae_group flex flex-col gap-1">
{#if ($idaa_slct.post_obj.anonymous)} {#if ($idaa_slct.post_obj.anonymous)}
<div class="post__posted_by"> <div class="post__posted_by">
@@ -195,7 +195,10 @@ onDestroy(() => {
<span class="ae_value post__updated_on"> <span class="ae_value post__updated_on">
{ae_util.iso_datetime_formatter($idaa_slct.post_obj.updated_on, 'datetime_iso_12_no_seconds')}</span> {ae_util.iso_datetime_formatter($idaa_slct.post_obj.updated_on, 'datetime_iso_12_no_seconds')}</span>
{/if} {/if}
<span class="post__archive_on"> <span
class="post__archive_on"
class:hidden={!$ae_loc.administrator_access}
>
<span class="ae_label">Archive on:</span> <span class="ae_label">Archive on:</span>
<span class="ae_value">{ae_util.iso_datetime_formatter($idaa_slct.post_obj.archive_on, 'datetime_iso_12_no_seconds')}</span> <span class="ae_value">{ae_util.iso_datetime_formatter($idaa_slct.post_obj.archive_on, 'datetime_iso_12_no_seconds')}</span>
</span> </span>
@@ -249,10 +252,10 @@ onDestroy(() => {
{#if $lq__post_comment_obj_li?.length} {#if $lq__post_comment_obj_li?.length}
<section class="post_comment_obj_li space-y-2 border border-1 rounded p-2 border-y-4"> <section class="post_comment_obj_li space-y-2 border border-1 p-0 border-y-0">
{#each $lq__post_comment_obj_li as post_comment_obj, index} {#each $lq__post_comment_obj_li as post_comment_obj, index}
<div class="p-2 border border-1 rounded"> <div class="p-4 space-y-1 border-b border-b-2">
{#if $idaa_sess.bb.show__inline_edit__post_comment_id == post_comment_obj.post_comment_id} {#if $idaa_sess.bb.show__inline_edit__post_comment_id == post_comment_obj.post_comment_id}
<Comp__post_comment_obj_id_edit <Comp__post_comment_obj_id_edit
@@ -278,11 +281,12 @@ onDestroy(() => {
{/if} {/if}
</span> </span>
<span class="post_comment__created_on_updated_on"> <span class="post_comment__created_on_updated_on">
Created on: {#if !post_comment_obj.updated_on}
<span class="post_comment__created_on">{ae_util.iso_datetime_formatter(post_comment_obj.created_on, 'datetime_iso_12_no_seconds')} <span class="ae_label">Created on:</span>
{#if post_comment_obj.updated_on} <span class="ae_value post_comment__created_on">{ae_util.iso_datetime_formatter(post_comment_obj.created_on, 'datetime_iso_12_no_seconds')}</span>
Updated on: {:else}
{ae_util.iso_datetime_formatter(post_comment_obj.updated_on, 'datetime_iso_12_no_seconds')} <span class="ae_label">Updated on:</span>
<span class="ae_value post_comment__updated_on">{ae_util.iso_datetime_formatter(post_comment_obj.updated_on, 'datetime_iso_12_no_seconds')}</span>
{/if} {/if}
</span> </span>
</div> </div>