More clean up for IDAA. Mostly style related.

This commit is contained in:
Scott Idem
2025-01-08 16:10:51 -05:00
parent aa893b5ea6
commit e921f3a785
7 changed files with 144 additions and 133 deletions

View File

@@ -23,14 +23,14 @@ onMount(() => {
{#if idaa_post_obj} <!-- This check for the idaa_post_obj is here in case the IDB entry is deleted. -->
<div
class="container bb_post post_obj border border-1 rounded p-2 mb-2 space-y-2 w-full max-w-screen-lg flex flex-col items-center justify-center"
class="container bb_post post_obj border border-1 p-2 mb-2 space-y-2 w-full max-w-screen-lg flex flex-col items-center justify-center bg-white rounded-lg"
class:dim={idaa_post_obj?.hide}
class:bg-warning-100={!idaa_post_obj?.enable}
class:hidden={(idaa_post_obj.hide && $idaa_loc.bb.qry__hidden != 'all') || (!idaa_post_obj.enable && $idaa_loc.bb.qry__enabled != 'all')}
>
<header class="ae_header">
<h3 class="post__title flex flex-row gap-2 items-center h3">
<h3 class="post__title flex flex-row gap-2 items-center h3 border-b border-1 border-gray-200 w-full">
<span class="post__title">
<span class="fas fa-comment-alt m-1"></span>
{@html idaa_post_obj.title}
@@ -40,7 +40,7 @@ onMount(() => {
</header>
<!-- {#if idaa_post_obj.content}<pre class="post__content p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal whitespace-pre-wrap reset_css">{@html idaa_post_obj.content}</pre>{/if} -->
{#if idaa_post_obj.content}<div class="post__content w-full p-2 bg-white shadow-md rounded-lg text-wrap text-sm font-normal reset_css">{@html idaa_post_obj.content}</div>{/if}
{#if idaa_post_obj.content}<div class="post__content w-full p-2 bg-gray shadow-md rounded text-wrap text-sm font-normal reset_css">{@html idaa_post_obj.content}</div>{/if}
<div class="ae_options flex flex-row gap-2 items-center justify-center">
<button