Skip to content
Snippets Groups Projects
Commit a9934749 authored by Luca Bösch's avatar Luca Bösch Committed by Kathrin Osswald
Browse files

Check existance of properties before accessing them.

parent 82bd4744
Branches
Tags
No related merge requests found
......@@ -6,6 +6,7 @@ Changes
### Unreleased
* 2019-05-29 - Check existence of property blockcolumnwidth before accessing it.
* 2019-05-29 - Login background image did not fill the page completely when browser window was really low but really wide.
* 2019-05-27 - Added multilanguage filtering to the login background image texts.
* 2019-05-24 - Prevent back-to-top button from being printed.
......
......@@ -120,15 +120,19 @@ function theme_boost_campus_get_pre_scss($theme) {
// MODIFICATION START: Overwrite Boost core SCSS variables which need units and thus couldn't be added to $configurable above.
// Set variables which are processed in the context of the blockcolumnwidth setting.
if (isset($theme->settings->blockcolumnwidth)) {
$scss .= '$blocks-column-width: ' . $theme->settings->blockcolumnwidth . "px;\n";
$scss .= '$grid-gutter-width: ' . "30px;\n";
}
// MODIFICATION END.
// MODIFICATION START: Set own SCSS variables which need units or calculations and thus couldn't be
// added to $configurable above.
// Set variables which are processed in the context of the blockcolumnwidth setting.
if (isset($theme->settings->blockcolumnwidthdashboard)) {
$scss .= '$blocks-column-width-dashboard: ' . $theme->settings->blockcolumnwidthdashboard . "px;\n";
$scss .= '$blocks-plus-gutter-dashboard: $blocks-column-width-dashboard + ( $grid-gutter-width / 2 )' . ";\n";
}
// MODIFICATION END.
// MODIFICATION START: Add login background images that are uploaded to the setting 'loginbackgroundimage' to CSS.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment