1
0
Fork 0
forked from forgejo/forgejo

Update UI for topics labels on projects (#6639)

This commit is contained in:
하윤 2019-04-15 20:59:30 +02:00 committed by techknowlogick
parent 837116875e
commit 83d6e5e3f8
5 changed files with 10 additions and 7 deletions

View file

@ -2775,7 +2775,7 @@ function initTopicbar() {
var last = viewDiv.children("a").last();
for (var i=0; i < topicArray.length; i++) {
$('<div class="ui green basic label topic" style="cursor:pointer;">'+topicArray[i]+'</div>').insertBefore(last)
$('<div class="ui small label topic" style="cursor:pointer;">'+topicArray[i]+'</div>').insertBefore(last)
}
}
editDiv.css('display', 'none');
@ -2817,7 +2817,7 @@ function initTopicbar() {
basic: true,
},
className: {
label: 'ui green basic label'
label: 'ui small label'
},
apiSettings: {
url: suburl + '/api/v1/topics/search?q={query}',