summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-15 19:11:58 +0100
committerGitHub <noreply@github.com>2020-11-15 13:11:58 -0500
commit50cbb204812f465ea00b2ffd31db58378e17f27b (patch)
tree345b4ac7d08abf0a959be7b1271b1b9991d425b9 /web_src
parentf0ed71251ec1bd71f1f3c9cb12e17ca8f5e1cf3c (diff)
downloadgitea-50cbb204812f465ea00b2ffd31db58378e17f27b.tar.gz
gitea-50cbb204812f465ea00b2ffd31db58378e17f27b.zip
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>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less14
1 files changed, 14 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index de80004892..662a057715 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -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;
}