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 issue label rendering #13570

Merged
merged 3 commits into from
Nov 15, 2020
Merged

Conversation

silverwind
Copy link
Member

Prevent rendering of inactive labels and make them wrap inline.

Screen Shot 2020-11-14 at 21 15 46

Fixes: #13566

Prevent rendering of inactive labels and make them wrap inline.

Fixes: go-gitea#13566
@lafriks lafriks added topic/ui Change the appearance of the Gitea UI skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Nov 14, 2020
@lafriks lafriks added this to the 1.14.0 milestone Nov 14, 2020
@GiteaBot GiteaBot added the lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. label Nov 15, 2020
@techknowlogick
Copy link
Member

🚀

@techknowlogick techknowlogick merged commit 50cbb20 into go-gitea:master Nov 15, 2020
silverwind added a commit to silverwind/gitea that referenced this pull request Nov 16, 2020
PR go-gitea#13570 broke label rendering for new issues and pulls because
missed the fact that the code was relying on the DOM elements being
toggled by JavaScript.

On top of that, the label rendering for new issues and pull was using
an outdated template which I consolidated in a new shared template.
lafriks pushed a commit that referenced this pull request Nov 17, 2020
* Fix label display on new issues

PR #13570 broke label rendering for new issues and pulls because
missed the fact that the code was relying on the DOM elements being
toggled by JavaScript.

On top of that, the label rendering for new issues and pull was using
an outdated template which I consolidated in a new shared template.

* remove wrapper element and style tweaks

* style tweaks

* use shared template for whole label list

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
@go-gitea go-gitea locked and limited conversation to collaborators Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue label spacing shifting
6 participants