Fix label display on new issues (#13590)
* 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>
This commit is contained in:
parent
0a6ce3eaf1
commit
b83825253e
6 changed files with 26 additions and 40 deletions
|
@ -133,11 +133,6 @@
|
|||
max-width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.label.color {
|
||||
padding: 0 8px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
#deadlineForm input {
|
||||
|
@ -2985,12 +2980,14 @@
|
|||
}
|
||||
|
||||
.labels.list .item {
|
||||
padding: 0 !important;
|
||||
margin-bottom: 2px;
|
||||
padding: .3em .5em !important;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.labels.list .item + .item {
|
||||
margin-left: 2px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
tbody.commit-list {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue