From 448b87bbfe6358bb41b34edb5d8a15f231e19685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikel=20Mart=C3=ADn?= Date: Fri, 30 Aug 2024 09:09:57 +0200 Subject: [PATCH] MDL-82957 course: Fix section bulk actions alignment --- theme/boost/scss/moodle/course.scss | 7 +++++-- theme/boost/style/moodle.css | 3 +++ theme/classic/style/moodle.css | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/theme/boost/scss/moodle/course.scss b/theme/boost/scss/moodle/course.scss index 54d8661bdc9..61a38503ab7 100644 --- a/theme/boost/scss/moodle/course.scss +++ b/theme/boost/scss/moodle/course.scss @@ -1666,8 +1666,11 @@ $divider-hover-color: $primary !default; .bulk-hidden { display: none !important; // stylelint-disable-line declaration-no-important } - .section:not(:first-child) { - margin-top: map-get($spacers, 4); + .section { + margin-left: map-get($spacers, 3); + &:not(:first-child) { + margin-top: map-get($spacers, 4); + } } .activity { margin-top: map-get($spacers, 2); diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index c9b174520cf..83463b3db32 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -29860,6 +29860,9 @@ span.editinstructions .alert-link { .bulkenabled .bulk-hidden { display: none !important; } +.bulkenabled .section { + margin-left: 1rem; +} .bulkenabled .section:not(:first-child) { margin-top: 1.5rem; } diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 27f96ad0817..db26eddc79f 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -29860,6 +29860,9 @@ span.editinstructions .alert-link { .bulkenabled .bulk-hidden { display: none !important; } +.bulkenabled .section { + margin-left: 1rem; +} .bulkenabled .section:not(:first-child) { margin-top: 1.5rem; }