From 8bb4ff71181bfe257b2f67cbedc077ec097e93b2 Mon Sep 17 00:00:00 2001 From: Beebles <102569435+beebls@users.noreply.github.com> Date: Fri, 26 Sep 2025 16:08:09 -0600 Subject: fix scrollpanel group --- frontend/src/components/AnnouncementsDisplay.tsx | 48 ++++++++++++------------ 1 file changed, 25 insertions(+), 23 deletions(-) (limited to 'frontend') diff --git a/frontend/src/components/AnnouncementsDisplay.tsx b/frontend/src/components/AnnouncementsDisplay.tsx index c62a5d77..d1a0ec8c 100644 --- a/frontend/src/components/AnnouncementsDisplay.tsx +++ b/frontend/src/components/AnnouncementsDisplay.tsx @@ -200,35 +200,37 @@ function AnnouncementModal({ } `} - { - if (!evt?.detail?.button) return; - if (evt.detail.button === 2) { - closeModal?.(); - } - }} - > +

{announcement.title}

- - { - console.log('Dismiss'); + { + if (!evt?.detail?.button) return; + if (evt.detail.button === 2) { closeModal?.(); - }} - > - {announcement.text} - - + } + }} + > + + { + console.log('Dismiss'); + closeModal?.(); + }} + > + {announcement.text} + + +
onHide()}>Close Popup onHide()}>Close and Hide Announcement - + ); } -- cgit v1.2.3