diff --git a/theme/boost/scss/moodle/course.scss b/theme/boost/scss/moodle/course.scss index 61a38503ab7..96554099ce2 100644 --- a/theme/boost/scss/moodle/course.scss +++ b/theme/boost/scss/moodle/course.scss @@ -612,9 +612,9 @@ span.editinstructions { .coursebox > .info > .coursename a { display: block; background-image: url([[pix:moodle|i/course]]); + background-size: $icon-width $icon-height; background-repeat: no-repeat; padding-left: 21px; - background-position: left 0.2em; } } @@ -690,6 +690,7 @@ span.editinstructions { .course_category_tree .category.with_children > .info > .categoryname { background-image: url([[pix:moodle|t/expanded]]); + background-size: $icon-width $icon-height; background-repeat: no-repeat; background-position: center left; } diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 4ca9d8a606a..69211319ef8 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -28592,9 +28592,9 @@ span.editinstructions .alert-link { #frontpage-category-combo .coursebox > .info > .coursename a { display: block; background-image: url([[pix:moodle|i/course]]); + background-size: 16px 16px; background-repeat: no-repeat; padding-left: 21px; - background-position: left 0.2em; } .coursebox > .info > .coursename { @@ -28667,6 +28667,7 @@ span.editinstructions .alert-link { .course_category_tree .category.with_children > .info > .categoryname { background-image: url([[pix:moodle|t/expanded]]); + background-size: 16px 16px; background-repeat: no-repeat; background-position: center left; } diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 8091f1f81f0..4b50d43853f 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -28592,9 +28592,9 @@ span.editinstructions .alert-link { #frontpage-category-combo .coursebox > .info > .coursename a { display: block; background-image: url([[pix:moodle|i/course]]); + background-size: 16px 16px; background-repeat: no-repeat; padding-left: 21px; - background-position: left 0.2em; } .coursebox > .info > .coursename { @@ -28667,6 +28667,7 @@ span.editinstructions .alert-link { .course_category_tree .category.with_children > .info > .categoryname { background-image: url([[pix:moodle|t/expanded]]); + background-size: 16px 16px; background-repeat: no-repeat; background-position: center left; }