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

Incorrect location of New Issue button in user issue dashboard #23627

Closed
yp05327 opened this issue Mar 22, 2023 · 0 comments · Fixed by #23647
Closed

Incorrect location of New Issue button in user issue dashboard #23627

yp05327 opened this issue Mar 22, 2023 · 0 comments · Fixed by #23647
Labels
topic/ui Change the appearance of the Gitea UI type/bug

Comments

@yp05327
Copy link
Contributor

yp05327 commented Mar 22, 2023

Description

  • Access user issue dashboard
  • Select a repo listed in All
  • New Issue button's location is incorrect.

image

Gitea Version

1.20.0+dev-240-gd4f35bd68

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

try.gitea.io

Database

None

@yp05327 yp05327 changed the title UI error in user issue dashboard Incorrect location of New Issue button in user issue dashboard Mar 22, 2023
@yardenshoham yardenshoham added the topic/ui Change the appearance of the Gitea UI label Mar 22, 2023
techknowlogick pushed a commit that referenced this issue Mar 23, 2023
Close #23627 

Added margin left to the button when it is next to the svg, which has a
margin-right of `-0.5rem`

And here it might be better if `white-space: nowrap;` is added because
otherwise it might look like below on pull requests page on smaller
screen

<img width="945" alt="截屏2023-03-23 09 57 41"
src="https://user-images.githubusercontent.com/17645053/227079613-71c696ab-55ec-4641-acb9-622a8baebb31.png">

After:
<img width="936" alt="截屏2023-03-23 10 08 27"
src="https://user-images.githubusercontent.com/17645053/227080971-6bf2588e-40dd-4770-b0d1-45d7c63e0f48.png">

Pull Request on smaller screen
<img width="922" alt="截屏2023-03-23 10 25 16"
src="https://user-images.githubusercontent.com/17645053/227084144-0c2ed3e6-5c11-4252-bba2-b5f971b70f4a.png">
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants