Fix issue label rendering (#13570)

* Fix issue label rendering

Prevent rendering of inactive labels and make them wrap inline.

Fixes: https://github.com/go-gitea/gitea/issues/13566

* also don't render the placeholder

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
silverwind 2020-11-15 19:11:58 +01:00 committed by GitHub
parent f0ed71251e
commit 50cbb20481
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 10 deletions

View file

@ -2983,6 +2983,20 @@
}
}
.labels.list {
display: flex;
flex-wrap: wrap;
}
.labels.list .item {
padding: 0 !important;
margin-bottom: 2px;
}
.labels.list .item + .item {
margin-left: 2px;
}
tbody.commit-list {
vertical-align: baseline;
}