mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-69491 themes: No 'fontsize' setting in Boost causes unit conflict.
This commit is contained in:
parent
38abfb6a01
commit
68e5f006e9
@ -34,8 +34,6 @@ $string['bootswatch_desc'] = 'A bootswatch is a set of Bootstrap variables and c
|
||||
$string['choosereadme'] = 'Boost is a modern highly-customisable theme. This theme is intended to be used directly, or as a parent theme when creating new themes utilising Bootstrap 4.';
|
||||
$string['currentinparentheses'] = '(current)';
|
||||
$string['configtitle'] = 'Boost';
|
||||
$string['fontsize'] = 'Theme base fontsize';
|
||||
$string['fontsize_desc'] = 'Enter a fontsize in %';
|
||||
$string['generalsettings'] = 'General settings';
|
||||
$string['nobootswatch'] = 'None';
|
||||
$string['pluginname'] = 'Boost';
|
||||
|
@ -150,9 +150,5 @@ function theme_boost_get_pre_scss($theme) {
|
||||
$scss .= $theme->settings->scsspre;
|
||||
}
|
||||
|
||||
if (!empty($theme->settings->fontsize)) {
|
||||
$scss .= '$font-size-base: ' . (1 / 100 * $theme->settings->fontsize) . "rem !default;\n";
|
||||
}
|
||||
|
||||
return $scss;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user