MDL-73902 theme_boost: prevent dropdowns being cut off

This commit is contained in:
Bas Brands 2022-03-01 13:29:12 +01:00
parent 9cd77c4130
commit 729ae8f096
3 changed files with 4 additions and 2 deletions

View File

@ -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"

View File

@ -79,7 +79,7 @@
}
}}
<div class="dropdown{{^secondary.items}} hidden{{/secondary.items}}">
<a href="#" tabindex="0" class="{{triggerextraclasses}} dropdown-toggle icon-no-margin" id="action-menu-toggle-{{instance}}" aria-label="{{title}}" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" aria-controls="action-menu-{{instance}}-menu" data-display="static">
<a href="#" tabindex="0" class="{{triggerextraclasses}} dropdown-toggle icon-no-margin" id="action-menu-toggle-{{instance}}" aria-label="{{title}}" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" aria-controls="action-menu-{{instance}}-menu">
{{{actiontext}}}
{{{menutrigger}}}
{{#icon}}

View File

@ -262,7 +262,7 @@ abstract class base_report_table extends table_sql implements dynamic, renderabl
$this->wrap_html_start();
echo html_writer::start_tag('div', ['class' => 'no-overflow']);
echo html_writer::start_tag('div');
echo html_writer::start_tag('table', $this->attributes);
}
}