aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-diff.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/repo-diff.ts')
-rw-r--r--web_src/js/features/repo-diff.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/web_src/js/features/repo-diff.ts b/web_src/js/features/repo-diff.ts
index ad1da5c2fa..bde7ec0324 100644
--- a/web_src/js/features/repo-diff.ts
+++ b/web_src/js/features/repo-diff.ts
@@ -138,7 +138,14 @@ function initDiffHeaderPopup() {
btn.setAttribute('data-header-popup-initialized', '');
const popup = btn.nextElementSibling;
if (!popup?.matches('.tippy-target')) throw new Error('Popup element not found');
- createTippy(btn, {content: popup, theme: 'menu', placement: 'bottom', trigger: 'click', interactive: true, hideOnClick: true});
+ createTippy(btn, {
+ content: popup,
+ theme: 'menu',
+ placement: 'bottom-end',
+ trigger: 'click',
+ interactive: true,
+ hideOnClick: true,
+ });
}
}