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

Fix margin and alignment in dashboard repolist #22120

Merged
merged 4 commits into from
Dec 17, 2022

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Dec 13, 2022

Seems this has recently regressed, previously, there was a significant whitespace between icon and text, but it seems to be gone, so I added the margin and also vertically aligned the icon because it was slightly misaligned.

Before:
Screenshot 2022-12-13 at 20 03 51

After:
image

@silverwind silverwind added type/bug topic/ui Change the appearance of the Gitea UI labels Dec 13, 2022
@silverwind silverwind added this to the 1.19.0 milestone Dec 13, 2022
Seems this has recently regressed, previously, there was a significant
whitespace between icon and text, but it seems to be gone, so I added
the margin.
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Dec 14, 2022
@techknowlogick techknowlogick added the outdated/backport/v1.18 This PR should be backported to Gitea 1.18 label Dec 14, 2022
@silverwind silverwind marked this pull request as draft December 14, 2022 08:43
@silverwind
Copy link
Member Author

Putting in draft, need to fix text truncation in the flexbox.

@silverwind silverwind marked this pull request as ready for review December 15, 2022 21:07
@silverwind
Copy link
Member Author

Truncation fixed. The repo name can now stretch the full box instead of the previous arbitrary 70% value:

image

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 16, 2022
KN4CK3R pushed a commit that referenced this pull request Dec 16, 2022
Backport #22120 to 1.18. Seems this has recently regressed, previously,
there was a significant whitespace between icon and text, but it seems
to be gone, so I added the margin.
@lunny
Copy link
Member

lunny commented Dec 17, 2022

make L-G-T-M work

@lunny lunny merged commit c4c4151 into go-gitea:main Dec 17, 2022
@silverwind silverwind deleted the margin-repos branch December 17, 2022 21:39
@zeripath
Copy link
Contributor

please send backport

@silverwind
Copy link
Member Author

Was already backported to 1.18 in #22122 and 1.17 does not have the bug.

@lunny lunny added the backport/done All backports for this PR have been created label Jan 13, 2023
@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
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. outdated/backport/v1.18 This PR should be backported to Gitea 1.18 topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants