From 2bc3246f9300f4f9f4dd4ba52fe3b5ba4df00c95 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Fri, 2 Feb 2018 11:29:33 +0800 Subject: [PATCH] MDL-61341 theme_boost: Modify variables used for calculations Variables must be of the same type for Math to take place. We cannot mix REM and EM because they have different relative roots. --- theme/boost/scss/moodle/forms.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/theme/boost/scss/moodle/forms.scss b/theme/boost/scss/moodle/forms.scss index a23abd8aeb4..7d1c68fea96 100644 --- a/theme/boost/scss/moodle/forms.scss +++ b/theme/boost/scss/moodle/forms.scss @@ -252,13 +252,13 @@ fieldset.coursesearchbox label { margin: 0; padding: 0; border: 0; - margin-top: $font-size-base * $line-height-base + $tag-padding-y; + margin-top: $font-size-base * $line-height-base + $input-padding-y-sm; vertical-align: bottom; } .form-autocomplete-selection { - margin: $tag-padding-y; + margin: $input-padding-y-sm; // Padding top and bottom, plus m-b-1 and the 100% lineheight. - min-height: 2 * $tag-padding-y + 2 * $font-size-base; + min-height: 2 * $input-padding-y-sm + 2 * $font-size-base; } .form-autocomplete-multiple [role=listitem] {