MDL-73563 course: add vertical space above category action buttons.

This commit is contained in:
Paul Holden
2022-01-13 23:14:20 +00:00
parent bb9cd179ed
commit f84ab6c2e4
+1 -1
View File
@@ -1810,7 +1810,7 @@ class core_course_renderer extends plugin_renderer_base {
$output .= $this->coursecat_tree($chelper, $coursecat);
// Add action buttons
$output .= $this->container_start('buttons');
$output .= $this->container_start('buttons mt-3');
if ($coursecat->is_uservisible()) {
$context = get_category_or_system_context($coursecat->id);
if (has_capability('moodle/course:create', $context)) {