diff --git a/payment/accounts.php b/payment/accounts.php index a612cf84a42..bfccc651dfe 100644 --- a/payment/accounts.php +++ b/payment/accounts.php @@ -60,6 +60,7 @@ foreach ($accounts as $account) { $menu = new action_menu(); $menu->set_menu_trigger(get_string('edit')); + $menu->set_boundary('window'); if ($canmanage) { $menu->add(new action_menu_link_secondary($account->get_edit_url(), null, get_string('edit'))); if (!$account->get('archived')) { @@ -85,7 +86,7 @@ if (has_capability('moodle/site:config', context_system::instance())) { echo html_writer::div($text, 'pb-2'); } -echo html_writer::table($table); +echo html_writer::div(html_writer::table($table), 'position-relative'); $PAGE->requires->event_handler('[data-action=delete]', 'click', 'M.util.show_confirm_dialog', array('message' => get_string('accountdeleteconfirm', 'payment')));