Style improvement

This commit is contained in:
Scott Idem
2024-11-22 14:36:37 -05:00
parent 7ba11a104d
commit dd8181ba0e

View File

@@ -16,14 +16,14 @@ onMount(() => {
</script>
<section class="bb_post_list">
<section class="bb_post_list flex flex-col gap-2 items-center justify-center w-full">
{#if $lq__post_obj_li && $lq__post_obj_li.length}
{#each $lq__post_obj_li as idaa_post_obj, index}
{#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"
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: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')}