Organization sidebar menu not properly rendered when sidebar is collapsed
To Reproduce
deploy dokploy 0.29.12 or upgrade to this version you'll notice that when sidebar is collapsed, the menu associated with organization doesn't render properly or render in partial UI
Current vs. Expected behavior
organization menu to reneder with width fit the content
Provide environment information
doesn't matter because dokploy running on container
Which area(s) are affected? (Select all that apply)
Application
Are you deploying the applications where Dokploy is installed or on a remote server?
Remote server
Additional context
I tested on contabo server (ubuntu)
Will you send a PR to fix it?
Maybe, need help
Hi @oussamaboumaad! I'm Dosu and I'm helping the Dokploy team.
This looks related to a CSS regression introduced by the Tailwind v4 / shadcn migration in PR #4706. That PR added group-data-[collapsible=icon]:overflow-hidden to the SidebarContent component in apps/dokploy/components/ui/sidebar.tsx, which clips content (including dropdown menus) when the sidebar is collapsed [1].
A fix was merged in PR #4755 (July 7, 2026), which replaces the problematic overflow class:
// Before (broken):
"overflow-auto group-data-[collapsible=icon]:overflow-hidden"
// After (fixed):
"overflow-y-auto overflow-x-hidden"
However, v0.29.12 was released on July 13 and may not include this fix. You could verify by checking whether your sidebar.tsx still has group-data-[collapsible=icon]:overflow-hidden — if it does, applying the change above should resolve the rendering issue.
That said, the organization dropdown menu itself (rendered via DropdownMenuContent in the SidebarLogo component in apps/dokploy/components/layouts/side.tsx) has its own width and positioning logic [2]. If the overflow fix alone doesn't fully resolve the partial rendering you're seeing, there may be an additional width constraint on the dropdown that needs adjustment in collapsed mode.
To reply, just mention @dosu.
Docs are dead. Just use Dosu.
I can reproduce this and found the cause: the organization DropdownMenuContent in apps/dokploy/components/layouts/side.tsx has no width constraint, so when the sidebar is collapsed the popover shrinks to the narrow trigger and the org rows / Add organization content get squeezed and wrap. Fix is to restore the shadcn team-switcher width pattern on the dropdown content. Working on a PR.