Skip to content

Align issue-title-buttons with list-header #35018

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Jul 9, 2025

This change concerns the "Edit" and "New Issue" button on top right. With this change, switching from the issue list into an issue, the "New Issue" button will no longer "shift" from the postion on the previous page.

Screenshot 2025-07-09 at 17 37 31 Screenshot 2025-07-09 at 17 37 19

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jul 9, 2025
@silverwind silverwind added the backport/v1.24 This PR should be backported to Gitea 1.24 label Jul 9, 2025
@silverwind
Copy link
Member Author

silverwind commented Jul 10, 2025

Found a slightly better fix. By removing align-items: center from the parent, we achieve the same outcome of start-aligned flex children.

@silverwind silverwind changed the title Align issue-title-buttons Align issue-title-buttons with list-header Jul 10, 2025
@wxiaoguang
Copy link
Contributor

Then it mis-aligns

image

@silverwind
Copy link
Member Author

silverwind commented Jul 11, 2025

I guess we can attempt to center single-line title with the buttons. Button position is fine, so the text has to move.

@wxiaoguang
Copy link
Contributor

-> Refactor view issue & comment list styles #35061

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/v1.24 This PR should be backported to Gitea 1.24 lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants