mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	Fix edit topic UI (#27925)
Before: desktop view:  mobile view:  after click `Save` btn:   refresh the page, you will see that `gt-m-0` is missing after save topic:  After: desktop view:  mobile view:  after click `Save` btn: 
This commit is contained in:
		| @@ -43,7 +43,7 @@ export function initRepoTopicBar() { | ||||
|           const topicArray = topics.split(','); | ||||
|           topicArray.sort(); | ||||
|           for (let i = 0; i < topicArray.length; i++) { | ||||
|             const link = $('<a class="ui repo-topic large label topic"></a>'); | ||||
|             const link = $('<a class="ui repo-topic large label topic gt-m-0"></a>'); | ||||
|             link.attr('href', `${appSubUrl}/explore/repos?q=${encodeURIComponent(topicArray[i])}&topic=1`); | ||||
|             link.text(topicArray[i]); | ||||
|             link.insertBefore(mgrBtn); // insert all new topics before manage button | ||||
|   | ||||
		Reference in New Issue
	
	Block a user