Skip to content

Avatar is clipped in collapsed sidebar #4946

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

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