mirror of https://github.com/zulip/zulip.git
popovers: Use fixed position for all popovers.
I manually verified that they were working correctly.
This commit is contained in:
parent
6a5cfd2c05
commit
067ce35fb1
|
@ -210,6 +210,7 @@ function show_user_info_popover_manage_menu(element, user) {
|
||||||
placement: "bottom",
|
placement: "bottom",
|
||||||
html: true,
|
html: true,
|
||||||
trigger: "manual",
|
trigger: "manual",
|
||||||
|
fixed: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
$popover_elt.popover("show");
|
$popover_elt.popover("show");
|
||||||
|
@ -497,6 +498,7 @@ function show_user_group_info_popover(element, group, message) {
|
||||||
content: render_user_group_info_popover_content(args),
|
content: render_user_group_info_popover_content(args),
|
||||||
html: true,
|
html: true,
|
||||||
trigger: "manual",
|
trigger: "manual",
|
||||||
|
fixed: true,
|
||||||
});
|
});
|
||||||
$elt.popover("show");
|
$elt.popover("show");
|
||||||
$current_message_info_popover_elem = $elt;
|
$current_message_info_popover_elem = $elt;
|
||||||
|
@ -715,6 +717,7 @@ export function toggle_playground_link_popover(element, playground_info) {
|
||||||
content: render_playground_links_popover_content({playground_info}),
|
content: render_playground_links_popover_content({playground_info}),
|
||||||
html: true,
|
html: true,
|
||||||
trigger: "manual",
|
trigger: "manual",
|
||||||
|
fixed: true,
|
||||||
});
|
});
|
||||||
$elt.popover("show");
|
$elt.popover("show");
|
||||||
$current_playground_links_popover_elem = $elt;
|
$current_playground_links_popover_elem = $elt;
|
||||||
|
|
Loading…
Reference in New Issue