Badges: center badge wrapper via mx-auto so Edit Mode debug div doesn't shift layout

This commit is contained in:
Scott Idem
2026-03-12 16:15:55 -04:00
parent b4ab60ebba
commit 6e8f44b009
4 changed files with 12 additions and 4 deletions

View File

@@ -289,7 +289,7 @@
class="event_badge_wrapper event_badge print_area
flex flex-row flex-wrap gap-4
items-stretch justify-center
p-2 m-0
p-2 mx-auto
outline-2 outline-dashed outline-blue-500
min-h-[6.0in]
max-w-[8.5in] overflow-visible

View File

@@ -51,6 +51,7 @@
events__reports={$lq__event_presenter_obj?.event_id &&
$ae_loc.trusted_access}
events__session_id={$lq__event_presenter_obj?.event_session_id}
events__launcher_session_id={$lq__event_presenter_obj?.event_session_id}
events__session_search={$events_slct.event_id}
/>

View File

@@ -48,7 +48,7 @@
<div
class="flex flex-row flex-wrap gap-1 items-center justify-around w-full"
>
<!-- launcher_id is the event_location_id -->
<!-- launcher_id is the event_location_id; launcher_session_id pre-loads this session in the launcher -->
<Comp__events_menu_nav
hide={false}
event_id={$lq__event_session_obj?.event_id}
@@ -59,6 +59,10 @@
$ae_loc.administrator_access
? $lq__event_session_obj?.event_location_id
: null}
events__launcher_session_id={$lq__event_session_obj?.event_session_id &&
$ae_loc.administrator_access
? $lq__event_session_obj?.event_session_id
: null}
events__location_id={$lq__event_session_obj?.event_location_id &&
$ae_loc.trusted_access
? $lq__event_session_obj?.event_location_id