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:
silverwindandtechknowlogick authored and GitHub committed 2020-11-15 13:11:58 -05:00
1 parent f0ed71251e
commit 50cbb20481
3 files changed
+33 -10

No files matched your search

+14
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;
}