diff options
author | silverwind <me@silverwind.io> | 2020-11-15 19:11:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-15 13:11:58 -0500 |
commit | 50cbb204812f465ea00b2ffd31db58378e17f27b (patch) | |
tree | 345b4ac7d08abf0a959be7b1271b1b9991d425b9 /web_src | |
parent | f0ed71251ec1bd71f1f3c9cb12e17ca8f5e1cf3c (diff) | |
download | gitea-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.less | 14 |
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; } |