mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Update UI for topics labels on projects (#6639)
This commit is contained in:
		
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -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}',
 | 
			
		||||
 
 | 
			
		||||
@@ -47,6 +47,9 @@
 | 
			
		||||
            font-size: 12px;
 | 
			
		||||
            color: #808080;
 | 
			
		||||
        }
 | 
			
		||||
        .ui.tags {
 | 
			
		||||
            margin-bottom: 1em;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user