diff --git a/public/course/format/templates/local/content/section/content.mustache b/public/course/format/templates/local/content/section/content.mustache index 95c9ecee3b9..b57667d80b8 100644 --- a/public/course/format/templates/local/content/section/content.mustache +++ b/public/course/format/templates/local/content/section/content.mustache @@ -166,7 +166,7 @@
-
+
{{#isstealth}}
{{#str}} orphansectionwarning, core_courseformat {{/str}} diff --git a/public/theme/boost/scss/moodle/course.scss b/public/theme/boost/scss/moodle/course.scss index 5204ba91fab..5d885e05331 100644 --- a/public/theme/boost/scss/moodle/course.scss +++ b/public/theme/boost/scss/moodle/course.scss @@ -909,6 +909,10 @@ $divider-hover-color: $primary !default; } } +[data-for="sectioninfo"] { + margin: map-get($spacers, 3) 0; +} + /* Drag and drop */ // Compensate for the border widths when dropzones are displayed. diff --git a/public/theme/boost/style/moodle.css b/public/theme/boost/style/moodle.css index 6bc1db71a09..ce34abb4c40 100644 --- a/public/theme/boost/style/moodle.css +++ b/public/theme/boost/style/moodle.css @@ -31210,6 +31210,10 @@ body:not(.editing) .activity.subsection:last-child .section-item .course-content display: none; } +[data-for=sectioninfo] { + margin: 1rem 0; +} + /* Drag and drop */ .course-content .section.dropready.main.drop-down { border-bottom: 1px solid #1d2125; @@ -47887,4 +47891,4 @@ body { --bs-btn-disabled-bg: transparent; --bs-btn-disabled-border-color: #a6670e; --bs-gradient: none; -} \ No newline at end of file +} diff --git a/public/theme/classic/style/moodle.css b/public/theme/classic/style/moodle.css index 36a83464dce..d6430bccaf4 100644 --- a/public/theme/classic/style/moodle.css +++ b/public/theme/classic/style/moodle.css @@ -31210,6 +31210,10 @@ body:not(.editing) .activity.subsection:last-child .section-item .course-content display: none; } +[data-for=sectioninfo] { + margin: 1rem 0; +} + /* Drag and drop */ .course-content .section.dropready.main.drop-down { border-bottom: 1px solid #1d2125; @@ -48139,4 +48143,4 @@ body { body.hasstickyfooter #page-footer { padding-bottom: calc(1rem * .5 + max(80px, 1rem * 3)); -} \ No newline at end of file +}