1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-23 11:45:48 +00:00

Fix issue and commit status popup padding (#25254)

Close #25249

Use "dialog" for the role



![image](https://github.com/go-gitea/gitea/assets/2114189/2b5b7552-48bc-4ecf-947b-34917232cff9)

---------

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
wxiaoguang 2023-06-15 16:09:16 +08:00 committed by GitHub
parent 73ae71824d
commit 8e0316c321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ export function attachRefIssueContextPopup(refIssues) {
content: el,
placement: 'top-start',
interactive: true,
role: 'dialog',
interactiveBorder: 5,
onShow: () => {
el.firstChild.dispatchEvent(new CustomEvent('ce-load-context-popup', {detail: {owner, repo, index}}));

View File

@ -65,6 +65,7 @@ export function initCommitStatuses() {
content: this.nextElementSibling,
placement: top ? 'top-start' : 'bottom-start',
interactive: true,
role: 'dialog',
});
});
}