diff --git a/lib/templates/help_icon.mustache b/lib/templates/help_icon.mustache index 12a7543cf0e..e8d614169ac 100644 --- a/lib/templates/help_icon.mustache +++ b/lib/templates/help_icon.mustache @@ -17,7 +17,7 @@ } } }} - diff --git a/theme/boost/scss/moodle/icons.scss b/theme/boost/scss/moodle/icons.scss index 58215e7d223..5c11b798791 100644 --- a/theme/boost/scss/moodle/icons.scss +++ b/theme/boost/scss/moodle/icons.scss @@ -71,10 +71,9 @@ $iconwidthsizes: map-merge(( .icon { max-width: map-get($iconwidthsizes, 4); max-height: map-get($iconsizes, 4); - margin: 0; + margin: 0 map-get($spacers, 2) 0 0; padding: 0; box-sizing: content-box; - margin-right: 0.5rem; &.spacer { margin-right: 0; diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 1040bcd451f..3e9f42bb6b0 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -28691,10 +28691,9 @@ body.behat-site .action-menu .dropdown-subpanel-content.show { .icon { max-width: 30px; max-height: 24px; - margin: 0; + margin: 0 0.5rem 0 0; padding: 0; box-sizing: content-box; - margin-right: 0.5rem; } .icon.spacer { margin-right: 0; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index c3744321679..d9b2752a69b 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -28691,10 +28691,9 @@ body.behat-site .action-menu .dropdown-subpanel-content.show { .icon { max-width: 30px; max-height: 24px; - margin: 0; + margin: 0 0.5rem 0 0; padding: 0; box-sizing: content-box; - margin-right: 0.5rem; } .icon.spacer { margin-right: 0;