mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Backport #30849 by wxiaoguang Follow #30345 Follow #30547 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -246,7 +246,7 @@ export function initRepoBranchTagSelector(selector) { | ||||
| export default sfc; // activate IDE's Vue plugin | ||||
| </script> | ||||
| <template> | ||||
|   <div class="ui dropdown custom branch-selector-dropdown"> | ||||
|   <div class="ui dropdown custom branch-selector-dropdown ellipsis-items-nowrap"> | ||||
|     <div class="ui button branch-dropdown-button" @click="menuVisible = !menuVisible" @keyup.enter="menuVisible = !menuVisible"> | ||||
|       <span class="flex-text-block gt-ellipsis"> | ||||
|         <template v-if="release">{{ textReleaseCompare }}</template> | ||||
| @@ -280,7 +280,7 @@ export default sfc; // activate IDE's Vue plugin | ||||
|           <div class="ui label" v-if="item.name===repoDefaultBranch && mode === 'branches'"> | ||||
|             {{ textDefaultBranchLabel }} | ||||
|           </div> | ||||
|           <a v-show="enableFeed && mode === 'branches'" role="button" class="rss-icon tw-float-right" :href="rssURLPrefix + item.url" target="_blank" @click.stop> | ||||
|           <a v-show="enableFeed && mode === 'branches'" role="button" class="rss-icon" :href="rssURLPrefix + item.url" target="_blank" @click.stop> | ||||
|             <!-- creating a lot of Vue component is pretty slow, so we use a static SVG here --> | ||||
|             <svg width="14" height="14" class="svg octicon-rss"><use href="#svg-symbol-octicon-rss"/></svg> | ||||
|           </a> | ||||
|   | ||||
| @@ -124,8 +124,8 @@ export function initRepoIssueSidebarList() { | ||||
|               return; | ||||
|             } | ||||
|             filteredResponse.results.push({ | ||||
|               name: `#${issue.number} ${htmlEscape(issue.title) | ||||
|               }<div class="text small gt-word-break">${htmlEscape(issue.repository.full_name)}</div>`, | ||||
|               name: `<div class="gt-ellipsis">#${issue.number} ${htmlEscape(issue.title)}</div> | ||||
| <div class="text small gt-word-break">${htmlEscape(issue.repository.full_name)}</div>`, | ||||
|               value: issue.id, | ||||
|             }); | ||||
|           }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Giteabot
					Giteabot