Skip to content

Commit

Permalink
MDL-82120 gradepenalty_duedate: Update UI styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Fragonite authored and Nathan Nguyen committed Aug 29, 2024
1 parent 9394e24 commit 8a727bb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public function definition() {
// Action menu.
$output = $PAGE->get_renderer('core');
$menu = new action_menu();
$menu->set_kebab_trigger();
// Add insert item.
$menu->add(new action_menu_link(
new \moodle_url('#'),
Expand All @@ -126,7 +127,7 @@ public function definition() {
new pix_icon('i/trash', ''),
get_string('delete'),
false,
['class' => 'deleterulebuttons alert-danger']
['class' => 'deleterulebuttons text-danger']
));
$actionmenu = $output->render($menu);
$elements[] = $mform->createElement('static', 'name1', 'name2', $actionmenu);
Expand Down

0 comments on commit 8a727bb

Please sign in to comment.