From 2c21117a3f119d1f7a01589ae5c6bf7358fcaf34 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Mon, 9 Mar 2026 18:29:39 -0400 Subject: [PATCH] style(idaa): unify Admin Options toggle style across all IDAA edit forms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the old float-right Show/Hide toggle button + separate collapsible div with an inline caret-button heading inside a consistent section card (bg-surface-100-900, border-error-400) — matching the recovery meetings v2 form style. All four forms updated: Post, Post Comment, Archive, Archive Content. Existing class:hidden behaviour preserved so FormData is unaffected. Co-Authored-By: Claude Sonnet 4.6 --- ...a_comp__archive_content_obj_id_edit.svelte | 48 ++++++------------- .../ae_idaa_comp__archive_obj_id_edit.svelte | 48 ++++++------------- ...idaa_comp__post_comment_obj_id_edit.svelte | 46 ++++++------------ .../bb/ae_idaa_comp__post_obj_id_edit.svelte | 44 ++++++----------- 4 files changed, 57 insertions(+), 129 deletions(-) diff --git a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte index e9ee1431..60f0b8dc 100644 --- a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte +++ b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_content_obj_id_edit.svelte @@ -917,42 +917,21 @@ {#if $ae_loc.trusted_access} - - -
-

Admin Options

+
+ +
@@ -1130,6 +1109,7 @@ ? `SLCT Updated on: ${$idaa_slct.archive_content_obj?.updated_on}` : ''}
+
{/if} diff --git a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte index dfc2c322..2c439a8c 100644 --- a/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte +++ b/src/routes/idaa/(idaa)/archives/[archive_id]/ae_idaa_comp__archive_obj_id_edit.svelte @@ -546,42 +546,21 @@ {/if} {#if $ae_loc.trusted_access} - - -
-

Admin Options

+
+ +
@@ -748,6 +727,7 @@ ? `SLCT Updated on: ${$idaa_slct.archive_obj?.updated_on}` : ''}
+
{/if} diff --git a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_comment_obj_id_edit.svelte b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_comment_obj_id_edit.svelte index 784468dc..0545a9cc 100644 --- a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_comment_obj_id_edit.svelte +++ b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_comment_obj_id_edit.svelte @@ -620,38 +620,21 @@ Copy and paste link: ${ {#if $ae_loc.trusted_access} - - - -
-

Admin Options

+ +
{/if} diff --git a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte index 7190e95a..44966424 100644 --- a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte +++ b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_edit.svelte @@ -897,38 +897,21 @@ Copy and paste link: ${lin {#if $ae_loc.trusted_access} - - -
-

Admin Options

+
{/if}