Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(views): stop server version from stretching the help menu (#5472)

Bohan Jiangfa17e5c168e1
diff --git a/packages/views/layout/help-launcher.tsx b/packages/views/layout/help-launcher.tsx
index 7627004052..e45479f820 100644
--- a/packages/views/layout/help-launcher.tsx
+++ b/packages/views/layout/help-launcher.tsx
@@ -34,7 +34,7 @@ export function HelpLauncher() {
align="end"
side="top"
sideOffset={8}
- className="min-w-40"
+ className="min-w-40 max-w-56"
>
<DropdownMenuItem
render={
@@ -82,7 +82,7 @@ export function HelpLauncher() {
Help menu crashes the whole app on open (no error boundary sits
above the sidebar). */}
<DropdownMenuGroup>
- <DropdownMenuLabel className="font-normal">
+ <DropdownMenuLabel className="font-normal break-words">
{t(($) => $.help.server_version, { version: serverVersion })}
</DropdownMenuLabel>
</DropdownMenuGroup>