Some code clean up. Bug fix for <Modal /> placement.
This commit is contained in:
@@ -158,11 +158,11 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if is_browser}
|
{#if is_browser}
|
||||||
<div class="codemirror-wrapper {classes}" bind:this={element} />
|
<div class="codemirror-wrapper {classes}" bind:this={element}></div>
|
||||||
{:else}
|
{:else}
|
||||||
<div class="scm-waiting {classes}">
|
<div class="scm-waiting {classes}">
|
||||||
<div class="scm-waiting__loading scm-loading">
|
<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>
|
<p class="scm-loading__text">Loading editor...</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -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"
|
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}
|
bind:open={$events_sess.pres_mgmt.show_modal__presenter_agree}
|
||||||
autoclose={false}
|
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"
|
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"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|||||||
@@ -386,6 +386,7 @@ onMount(() => {
|
|||||||
title="{$lq__event_presenter_obj?.full_name} Presenter Consent and Release and Terms and Conditions"
|
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}
|
bind:open={$events_sess.pres_mgmt.show_modal__presenter_agree}
|
||||||
autoclose={false}
|
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"
|
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"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|||||||
@@ -509,6 +509,7 @@ let clipboard_success = $state(false);
|
|||||||
title="{$events_loc.pres_mgmt?.label__session_poc_name}'s Profile"
|
title="{$events_loc.pres_mgmt?.label__session_poc_name}'s Profile"
|
||||||
bind:open={$events_sess.pres_mgmt.show__session_poc_profile}
|
bind:open={$events_sess.pres_mgmt.show__session_poc_profile}
|
||||||
autoclose={false}
|
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"
|
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"
|
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}
|
bind:open={$events_sess.pres_mgmt.show_modal__session_poc_agree}
|
||||||
autoclose={false}
|
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"
|
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"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user