Skip to content

Avatar and labels misalignment #22818

Closed
@fsiddi

Description

@fsiddi

Description

Up to Gitea 1.16, avatar and labels were aligned correctly. Since the refactoring of the Avatar component, styling breaks in element listings (e.g. users, organizations, etc).

This issue is easily fixed by:

  • replacing the vm class with image in the avatar component
  • or adding display: inline-block to the content div next to the avatar

This breaks in other places, such the landing page of a repo.

Screenshots

Gitea 1.16

image

Gitea 1.19

image

Gitea Version

1.19

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

No response

Browser Version

Chrome 109.0.5414.119

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions