popovers: Align user profile popover with right col USERS header.

This commit is contained in:
Aman Agrawal 2020-08-26 13:45:02 +05:30 committed by Tim Abbott
parent 285f36bbfa
commit 6e189b14a6
2 changed files with 7 additions and 1 deletions

View File

@ -363,6 +363,12 @@ exports.make_new_elem = function (selector, opts) {
slice() {
return self;
},
offset() {
return {
top: 0,
left: 0,
};
},
};
if (selector[0] === "<") {

View File

@ -232,7 +232,7 @@ function render_user_info_popover(
}),
html: true,
trigger: "manual",
top_offset: 100,
top_offset: $("#userlist-title").offset().top + 15,
fix_positions: true,
});
popover_element.popover("show");