From 729ae8f096f5ba313239449c22ea02ff76a16c15 Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Tue, 1 Mar 2022 13:29:12 +0100 Subject: [PATCH] MDL-73902 theme_boost: prevent dropdowns being cut off --- admin/tool/admin_presets/tests/behat/delete.feature | 2 ++ lib/templates/action_menu_trigger.mustache | 2 +- reportbuilder/classes/table/base_report_table.php | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/admin/tool/admin_presets/tests/behat/delete.feature b/admin/tool/admin_presets/tests/behat/delete.feature index c6d6b821d81..39d169639cb 100644 --- a/admin/tool/admin_presets/tests/behat/delete.feature +++ b/admin/tool/admin_presets/tests/behat/delete.feature @@ -14,8 +14,10 @@ Feature: Admin preset deletion And I should see "Custom preset" When I open the action menu in "Custom preset" "table_row" And I should see "Delete" + And I press the escape key And I open the action menu in "Full" "table_row" Then I should not see "Delete" + And I press the escape key And I open the action menu in "Starter" "table_row" And I should not see "Delete" diff --git a/lib/templates/action_menu_trigger.mustache b/lib/templates/action_menu_trigger.mustache index 0c3b07f98e9..6f2faa3d09e 100644 --- a/lib/templates/action_menu_trigger.mustache +++ b/lib/templates/action_menu_trigger.mustache @@ -79,7 +79,7 @@ } }}