diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-09 15:54:46 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-09 15:54:46 +1000 |
| commit | 71025c6ed062cacae69b09597aae6a4de393116a (patch) | |
| tree | 983471bb02661bcf0a38113f8b38ceb9c2ad5894 /src/modules/sidebar/alerts.tsx | |
| parent | news: fix news other than google news (diff) | |
| download | caelestia-shell-71025c6ed062cacae69b09597aae6a4de393116a.tar.gz caelestia-shell-71025c6ed062cacae69b09597aae6a4de393116a.tar.bz2 caelestia-shell-71025c6ed062cacae69b09597aae6a4de393116a.zip | |
sidebar: news use monitor height
Use monitor height instead of absolute
Diffstat (limited to 'src/modules/sidebar/alerts.tsx')
| -rw-r--r-- | src/modules/sidebar/alerts.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
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> ); |