mirror of https://github.com/zulip/zulip.git
popovers: Align user profile popover with right col USERS header.
This commit is contained in:
parent
285f36bbfa
commit
6e189b14a6
|
@ -363,6 +363,12 @@ exports.make_new_elem = function (selector, opts) {
|
|||
slice() {
|
||||
return self;
|
||||
},
|
||||
offset() {
|
||||
return {
|
||||
top: 0,
|
||||
left: 0,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
if (selector[0] === "<") {
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue