Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(desktop): size test notification menu to its content (#82591)

Matt Pua9e6f8fba6a5d
diff --git a/products/desktop/packages/ui/src/features/settings/sections/NotificationsSettings.tsx b/products/desktop/packages/ui/src/features/settings/sections/NotificationsSettings.tsx
index f72c00866eb3..f4162e450304 100644
--- a/products/desktop/packages/ui/src/features/settings/sections/NotificationsSettings.tsx
+++ b/products/desktop/packages/ui/src/features/settings/sections/NotificationsSettings.tsx
@@ -821,7 +821,12 @@ function TestSection({
</Button>
}
/>
- <DropdownMenuContent align="end" side="bottom" sideOffset={6}>
+ <DropdownMenuContent
+ align="end"
+ side="bottom"
+ sideOffset={6}
+ className="w-max"
+ >
<DropdownMenuItem onClick={testToast} disabled={!bus}>
In-app toast
</DropdownMenuItem>