Skip to content

Commit 75a82ea

Browse files
HesterGlunny
authored andcommitted
Change interactiveBorder to fix popup preview (go-gitea#23169)
Close go-gitea#23073. Used the solution as reference to the reply: go-gitea#23073 (comment) Here made the change inside the `contextpopup.js` because this is where the popup component is created and tippy configuration is given. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 parent e3b1ebb commit 75a82ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: web_src/js/features/contextpopup.js

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export function initContextPopups() {
3131
createTippy(this, {
3232
content: el,
3333
interactive: true,
34+
interactiveBorder: 5,
3435
onShow: () => {
3536
el.firstChild.dispatchEvent(new CustomEvent('us-load-context-popup', {detail: {owner, repo, index}}));
3637
}

0 commit comments

Comments
 (0)