Some code clean up. Bug fix for <Modal /> placement.

This commit is contained in:
Scott Idem
2025-06-30 15:54:48 -04:00
parent 088b32e4f1
commit 2d66984581
5 changed files with 6 additions and 2 deletions

View File

@@ -158,11 +158,11 @@
</script>
{#if is_browser}
<div class="codemirror-wrapper {classes}" bind:this={element} />
<div class="codemirror-wrapper {classes}" bind:this={element}></div>
{:else}
<div class="scm-waiting {classes}">
<div class="scm-waiting__loading scm-loading">
<div class="scm-loading__spinner" />
<div class="scm-loading__spinner"></div>
<p class="scm-loading__text">Loading editor...</p>
</div>

View File

@@ -426,6 +426,7 @@ let lq__auth__event_presenter_obj = $derived(liveQuery(async () => {
title="{$lq__event_presenter_obj?.full_name} Presenter Consent and Release and Terms and Conditions"
bind:open={$events_sess.pres_mgmt.show_modal__presenter_agree}
autoclose={false}
placement="top-center"
class="bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-200 rounded-lg border-gray-200 dark:border-gray-700 divide-gray-200 dark:divide-gray-700 shadow-md relative flex flex-col mx-auto w-full divide-y"
>

View File

@@ -386,6 +386,7 @@ onMount(() => {
title="{$lq__event_presenter_obj?.full_name} Presenter Consent and Release and Terms and Conditions"
bind:open={$events_sess.pres_mgmt.show_modal__presenter_agree}
autoclose={false}
placement="top-center"
class="bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-200 rounded-lg border-gray-200 dark:border-gray-700 divide-gray-200 dark:divide-gray-700 shadow-md relative flex flex-col mx-auto w-full divide-y"
>

View File

@@ -509,6 +509,7 @@ let clipboard_success = $state(false);
title="{$events_loc.pres_mgmt?.label__session_poc_name}'s Profile"
bind:open={$events_sess.pres_mgmt.show__session_poc_profile}
autoclose={false}
placement="top-center"
class="bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-200 rounded-lg border-gray-200 dark:border-gray-700 divide-gray-200 dark:divide-gray-700 shadow-md relative flex flex-col mx-auto w-full divide-y"
>
@@ -559,6 +560,7 @@ let clipboard_success = $state(false);
title="{$events_loc.pres_mgmt?.label__session_poc_name}'s Consent and Release and Terms and Conditions"
bind:open={$events_sess.pres_mgmt.show_modal__session_poc_agree}
autoclose={false}
placement="top-center"
class="bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-200 rounded-lg border-gray-200 dark:border-gray-700 divide-gray-200 dark:divide-gray-700 shadow-md relative flex flex-col mx-auto w-full divide-y"
>