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: make long notification body scrollable instead of clipping

Louis Beaumont8e52d781c98f
diff --git a/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift b/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
index ee7e9fe7c..fddfa8be2 100644
--- a/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
+++ b/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
@@ -221,11 +221,14 @@ struct NotificationContentView: View {
.padding(.horizontal, 14)
.padding(.top, 8)
- // Body — render basic markdown inline
- MarkdownText(payload.body)
- .padding(.horizontal, 14)
- .padding(.top, 4)
- .padding(.bottom, 8)
+ // Body — render basic markdown inline, scrollable when long
+ ScrollView(.vertical, showsIndicators: true) {
+ MarkdownText(payload.body)
+ .padding(.horizontal, 14)
+ .padding(.top, 4)
+ .padding(.bottom, 8)
+ }
+ .frame(maxHeight: 200)
// Action buttons
if !payload.actions.isEmpty {