From 71025c6ed062cacae69b09597aae6a4de393116a Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Wed, 9 Apr 2025 15:54:46 +1000
Subject: sidebar: news use monitor height

Use monitor height instead of absolute
---
 src/modules/sidebar/alerts.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/modules/sidebar/alerts.tsx')

diff --git a/src/modules/sidebar/alerts.tsx b/src/modules/sidebar/alerts.tsx
index b669514..9599aff 100644
--- a/src/modules/sidebar/alerts.tsx
+++ b/src/modules/sidebar/alerts.tsx
@@ -1,10 +1,11 @@
+import type { Monitor } from "@/services/monitors";
 import Headlines from "./modules/headlines";
 import Notifications from "./modules/notifications";
 
-export default () => (
+export default ({ monitor }: { monitor: Monitor }) => (
     <box vertical className="pane alerts" name="alerts">
         <Notifications />
         <box className="separator" />
-        <Headlines />
+        <Headlines monitor={monitor} />
     </box>
 );
-- 
cgit v1.2.3-freya

