mirror of
https://github.com/moodle/moodle.git
synced 2025-01-16 21:18:33 +01:00
MDL-81315 grade: Ensure grade action menus do not display chevron icons
The grade action menu is currently using the 'core:i/moremenu' icon to trigger the dropdown. However, the chevron icons that usually appear in dropdown menus are not being properly excluded. Adding the '.no-caret' css class to the dropdown trigger element will improve the default appearance.
This commit is contained in:
parent
5c1968ae46
commit
ae3dc21bf5
@ -1621,7 +1621,7 @@ class grade_structure {
|
||||
if ($menuitems) {
|
||||
$menu = new action_menu($menuitems);
|
||||
$icon = $OUTPUT->pix_icon('i/moremenu', get_string('actions'));
|
||||
$extraclasses = 'btn btn-link btn-icon icon-size-3 d-flex align-items-center justify-content-center';
|
||||
$extraclasses = 'btn btn-link btn-icon icon-size-3 d-flex align-items-center justify-content-center no-caret';
|
||||
$menu->set_menu_trigger($icon, $extraclasses);
|
||||
$menu->set_menu_left();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user