mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Show language name on hover (#20923)
Each repo has a bar which shows the used programming languages. If you want to know, what language is behind a color, you need to click the bar. With this PR, you just need to hover over the color the view the name.
This commit is contained in:
		@@ -3,7 +3,7 @@ import tippy from 'tippy.js';
 | 
			
		||||
export function createTippy(target, opts = {}) {
 | 
			
		||||
  const instance = tippy(target, {
 | 
			
		||||
    appendTo: document.body,
 | 
			
		||||
    placement: 'top-start',
 | 
			
		||||
    placement: target.getAttribute('data-placement') || 'top-start',
 | 
			
		||||
    animation: false,
 | 
			
		||||
    allowHTML: false,
 | 
			
		||||
    maxWidth: 500, // increase over default 350px
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user