Skip to content

Avatar is clipped in collapsed sidebar #4946

Closed

Description

@azizbecha

To Reproduce

  1. Sign in to Dokploy on a desktop viewport.
  2. Collapse the left sidebar to icon-only mode.
  3. Inspect the account avatar at the bottom of the sidebar.

Current vs. Expected behavior

The account avatar is clipped horizontally and appears squeezed when the sidebar is collapsed. It should retain its full 32px square dimensions and rounded shape in both expanded and collapsed states.

Provide environment information

Operating System: macOS
Dokploy version: canary (018e56a7b)
Area: Dashboard sidebar

Which area(s) are affected? (Select all that apply)

Local Development

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

The collapsed menu button is 32px wide. Its base and large-size variants both emit important collapsed-padding utilities. The base 8px padding can win, offsetting the 32px avatar inside an overflow-hidden 32px button and clipping one side.

Will you send a PR to fix it?

Yes

Activity

  1. linear-code commented on Jul 31, 2026

    @linear-code
  2. added a commit that references this issue on Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions