From 3d24c81e1827e109c77e9b30e5692963bb9e6b01 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Thu, 17 Jul 2025 07:04:52 +0100 Subject: [PATCH] MDL-85944 block_myoverview: fix previously badly nested SCSS. --- theme/boost/scss/moodle/core.scss | 18 +++++++++--------- theme/boost/style/moodle.css | 4 ++-- theme/classic/style/moodle.css | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index e88e117f29f..77d3424985a 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -2909,15 +2909,15 @@ body.dragging { border-top: 1px solid $border-color; padding-top: map-get($spacers, 2); } - // Boost theme styling only (drawers not used in classic). - .drawers { - .block_myoverview { - border: 0; - & > .card-body { - padding-top: 0 !important; /* stylelint-disable-line declaration-no-important */ - padding-left: 0 !important; /* stylelint-disable-line declaration-no-important */ - padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */ - } + } + // Boost theme styling only (drawers not used in classic). + .drawers { + .block_myoverview { + border: 0; + & > .card-body { + padding-top: 0 !important; /* stylelint-disable-line declaration-no-important */ + padding-left: 0 !important; /* stylelint-disable-line declaration-no-important */ + padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */ } } } diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index a10471b6e13..166a6d49eda 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -28396,10 +28396,10 @@ body.dragging .dragging { border-top: 1px solid #dee2e6; padding-top: 0.5rem; } -.page-mycourses .block_myoverview .drawers .block_myoverview { +.page-mycourses .drawers .block_myoverview { border: 0; } -.page-mycourses .block_myoverview .drawers .block_myoverview > .card-body { +.page-mycourses .drawers .block_myoverview > .card-body { padding-top: 0 !important; /* stylelint-disable-line declaration-no-important */ padding-left: 0 !important; /* stylelint-disable-line declaration-no-important */ padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */ diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 681a9df6ef5..f904d3b6c20 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -28396,10 +28396,10 @@ body.dragging .dragging { border-top: 1px solid #dee2e6; padding-top: 0.5rem; } -.page-mycourses .block_myoverview .drawers .block_myoverview { +.page-mycourses .drawers .block_myoverview { border: 0; } -.page-mycourses .block_myoverview .drawers .block_myoverview > .card-body { +.page-mycourses .drawers .block_myoverview > .card-body { padding-top: 0 !important; /* stylelint-disable-line declaration-no-important */ padding-left: 0 !important; /* stylelint-disable-line declaration-no-important */ padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */