We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a9f883 commit 8628692Copy full SHA for 8628692
web_src/js/features/repo-commit.js
@@ -58,12 +58,12 @@ export function initRepoCommitLastCommitLoader() {
58
59
export function initCommitStatuses() {
60
$('.commit-statuses-trigger').each(function () {
61
- const positionRight = $('.repository.file.list').length > 0 || $('.repository.diff').length > 0;
+ const top = $('.repository.file.list').length > 0 || $('.repository.diff').length > 0;
62
63
createTippy(this, {
64
trigger: 'click',
65
content: this.nextSibling,
66
- placement: positionRight ? 'right' : 'left',
+ placement: top ? 'top-start' : 'bottom-start',
67
interactive: true,
68
});
69
0 commit comments