From 50cb08cce9196da9bea6ab83cef44db4634f4bd9 Mon Sep 17 00:00:00 2001
From: Beebles <102569435+beebls@users.noreply.github.com>
Date: Fri, 26 Sep 2025 16:21:08 -0600
Subject: add in scroll hint

---
 frontend/src/components/AnnouncementsDisplay.tsx | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

(limited to 'frontend/src/components/AnnouncementsDisplay.tsx')

diff --git a/frontend/src/components/AnnouncementsDisplay.tsx b/frontend/src/components/AnnouncementsDisplay.tsx
index 3d4d81c0..bbddc870 100644
--- a/frontend/src/components/AnnouncementsDisplay.tsx
+++ b/frontend/src/components/AnnouncementsDisplay.tsx
@@ -131,7 +131,7 @@ function Announcement({ announcement, onHide }: { announcement: Announcement; on
               <AnnouncementModal
                 announcement={announcement}
                 onHide={() => {
-                  console.log('On Hide');
+                  onHide();
                 }}
               />,
             )
@@ -202,6 +202,7 @@ function AnnouncementModal({
       </style>
       <Focusable style={{ display: 'flex', flexDirection: 'column', gap: '0.5rem', height: 'calc(100vh - 200px)' }}>
         <span style={{ fontWeight: 'bold', fontSize: '1.25rem' }}>{announcement.title}</span>
+        <span style={{ opacity: 0.5 }}>Use your finger to scroll</span>
         <ScrollPanelGroup
           // @ts-ignore
           focusable={false}
@@ -218,7 +219,6 @@ function AnnouncementModal({
           <WithSuspense>
             <MarkdownRenderer
               onDismiss={() => {
-                console.log('Dismiss');
                 closeModal?.();
               }}
             >
@@ -227,8 +227,15 @@ function AnnouncementModal({
           </WithSuspense>
         </ScrollPanelGroup>
         <Focusable style={{ display: 'flex', gap: '0.5rem' }}>
-          <DialogButton onClick={() => onHide()}>Close Popup</DialogButton>
-          <DialogButton onClick={() => onHide()}>Close and Hide Announcement</DialogButton>
+          <DialogButton onClick={() => closeModal?.()}>Close</DialogButton>
+          <DialogButton
+            onClick={() => {
+              // onHide();
+              closeModal?.();
+            }}
+          >
+            Close and Hide Announcement
+          </DialogButton>
         </Focusable>
       </Focusable>
     </ModalRoot>
-- 
cgit v1.2.3

