From d7c6e85f7f2c8fd4befb7d31ee0d3c6c4434800a Mon Sep 17 00:00:00 2001 From: hbilal9 Date: Sat, 18 Jul 2026 12:10:31 +0500 Subject: [PATCH] fix(ui): constrain organization menu width when sidebar is collapsed The organization DropdownMenuContent has no width constraint, so when the sidebar is collapsed the popover sizes against the narrow icon-rail trigger. The org name span (min-w-0 flex-1 truncate) collapses to nothing, cramming the row actions together and wrapping the Add organization item. Apply the same width pattern used by the user-nav dropdown: w-(--radix-dropdown-menu-trigger-width) with a minimum width. Use min-w-64 to match SIDEBAR_WIDTH (16rem) so the menu renders at the same width in both sidebar states. Closes #4840 --- apps/dokploy/components/layouts/side.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/components/layouts/side.tsx b/apps/dokploy/components/layouts/side.tsx index 6763898e8f..ffaaa0e6de 100644 --- a/apps/dokploy/components/layouts/side.tsx +++ b/apps/dokploy/components/layouts/side.tsx @@ -648,7 +648,7 @@ function SidebarLogo() {