Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: increase notification panel size on Windows/Linux and add scrollbar

Louis Beaumont542c2f8a7eb9
diff --git a/apps/screenpipe-app-tauri/app/notification-panel/page.tsx b/apps/screenpipe-app-tauri/app/notification-panel/page.tsx
index 342877087..48bfc5967 100644
--- a/apps/screenpipe-app-tauri/app/notification-panel/page.tsx
+++ b/apps/screenpipe-app-tauri/app/notification-panel/page.tsx
@@ -361,6 +361,19 @@ export default function NotificationPanelPage() {
padding-left: 16px;
}
.notif-md li { margin: 1px 0; }
+ .notif-body::-webkit-scrollbar {
+ width: 4px;
+ }
+ .notif-body::-webkit-scrollbar-track {
+ background: transparent;
+ }
+ .notif-body::-webkit-scrollbar-thumb {
+ background: rgba(0, 0, 0, 0.15);
+ border-radius: 2px;
+ }
+ .notif-body::-webkit-scrollbar-thumb:hover {
+ background: rgba(0, 0, 0, 0.3);
+ }
`}</style>
{/* Header */}
@@ -412,7 +425,7 @@ export default function NotificationPanelPage() {
</div>
{/* Body */}
- <div style={{ padding: "8px 14px", flex: 1, overflow: "auto" }}>
+ <div className="notif-body" style={{ padding: "8px 14px", flex: 1, overflow: "auto", minHeight: 0 }}>
<div
style={{
fontSize: "12px",
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/commands.rs b/apps/screenpipe-app-tauri/src-tauri/src/commands.rs
index ea4fbe61c..509c84caf 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/commands.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/commands.rs
@@ -1249,8 +1249,8 @@ pub async fn show_notification_panel(
}
}
- let window_width = 320.0;
- let window_height = 180.0;
+ let window_width = 340.0;
+ let window_height = 380.0;
// Position at top-right of the screen where the cursor is
let (x, y) = {