Skip to content

Commit hashes are different sizes and overflow on homepage #30919

Closed
@JanRomero

Description

@JanRomero

Description

Sorry if this is a dupe, I searched for everything that came to mind...

After upgrading to 1.22.0-rc1 the homepage has this problem with commit ids both in Firefox and Edge. This only happens for long commit messages and is reproducible on try.gitea.io if you can find or fake a long message. For example, go to Lunny’s activity and use dev tools to make one of the commit messages longer.

It seems to be fixed by adding flex-shrink: 100; to the commit message <span>, but not sure if that will cause problems elsewhere. I’ve only played around in the browser tools.

Thank you!

Screenshots

grafik

Gitea Version

1.22.0-rc1

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

No response

Browser Version

Firefox and MsEdge latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions