From af4453aa04ffcdf79f2f6b3e2599a7ab1298b376 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Thu, 15 May 2025 21:48:45 +0100 Subject: [PATCH] MDL-81384 theme_boost: centre help icon margin/padding. --- lib/templates/help_icon.mustache | 2 +- theme/boost/scss/moodle/icons.scss | 3 +-- theme/boost/style/moodle.css | 3 +-- theme/classic/style/moodle.css | 3 +-- 4 files changed, 4 insertions(+), 7 deletions(-) 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 dd767df90cb..5ab96f6eb4a 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 c307fcacf62..a61d497799a 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -28716,10 +28716,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 069bb70e5bd..f58959bf409 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -28716,10 +28716,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;