Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons for new repo/migration on organization main page different sizes and missing spacing on certain width #33160

Closed
misthios opened this issue Jan 9, 2025 · 1 comment · Fixed by #33633
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/ui Change the appearance of the Gitea UI type/bug

Comments

@misthios
Copy link
Contributor

misthios commented Jan 9, 2025

Description

The buttons for a new Repository/Migration on a organization page are a different size when placed underneath each other when using a desktop browser with a small width.

There appears to be a width that is in the middle between 2 stages where the buttons are placed underneath each other. instead of next to each other. When this happens they are not the same size and there is no spacing between them.

Screenshot 1 shows the browser in full width. (1440p monitor for reference)

Screenshot 2 shows the browser in the middle width stage where they are placed underneath each other (between 1029 innerwidth and about 777 innerwidth according to console.log(window.innerWidth).

Screenshot 3 shows the browser with less width where the buttons are back to being placed next to each other again (about 766 innerwidth).

Screenshots

1: Browser with full width:
big-window

2:Browser with smaller width:
small-window

3: Browser with smaller width
smaller-window

Gitea Version

1.23.0

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

PopOS 24.04

Browser Version

Firefox 134 / Chromium 131.06778.204

@misthios misthios added topic/ui Change the appearance of the Gitea UI type/bug labels Jan 9, 2025
@yp05327 yp05327 added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label Jan 9, 2025
@wxiaoguang
Copy link
Contributor

A longstanding UI problem.

I also have noticed (and actually have tried to "fix" it several times) but haven't figured out a proper better layout yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants