mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	Fix issue and commit status popup padding (#25254)
Close #25249 Use "dialog" for the role  --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		| @@ -34,6 +34,7 @@ export function attachRefIssueContextPopup(refIssues) { | |||||||
|       content: el, |       content: el, | ||||||
|       placement: 'top-start', |       placement: 'top-start', | ||||||
|       interactive: true, |       interactive: true, | ||||||
|  |       role: 'dialog', | ||||||
|       interactiveBorder: 5, |       interactiveBorder: 5, | ||||||
|       onShow: () => { |       onShow: () => { | ||||||
|         el.firstChild.dispatchEvent(new CustomEvent('ce-load-context-popup', {detail: {owner, repo, index}})); |         el.firstChild.dispatchEvent(new CustomEvent('ce-load-context-popup', {detail: {owner, repo, index}})); | ||||||
|   | |||||||
| @@ -65,6 +65,7 @@ export function initCommitStatuses() { | |||||||
|       content: this.nextElementSibling, |       content: this.nextElementSibling, | ||||||
|       placement: top ? 'top-start' : 'bottom-start', |       placement: top ? 'top-start' : 'bottom-start', | ||||||
|       interactive: true, |       interactive: true, | ||||||
|  |       role: 'dialog', | ||||||
|     }); |     }); | ||||||
|   }); |   }); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user