From 905d18e0445798d4fdac68f5b6f8c144e69d002f Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Fri, 21 Dec 2018 17:08:17 +0000 Subject: [IMP] website, *: add new logo sizing option * portal, web This commit introduces the first of many-to-come non-color website user values: the logo height. Now, the user can choose it in the customize dialog. PR https://github.com/odoo/odoo/pull/29624 task-1904244 --- addons/web/static/src/scss/utils.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src') diff --git a/addons/web/static/src/scss/utils.scss b/addons/web/static/src/scss/utils.scss index 5ac917fcd75..49485067037 100644 --- a/addons/web/static/src/scss/utils.scss +++ b/addons/web/static/src/scss/utils.scss @@ -177,11 +177,11 @@ // Mixin which allows to extend the BS4 bg-variant mixin @mixin o-bg-color-extension($color, $text-color, $with-muted) {} -// Function to remove all falsy values of a map +// Function to remove all null values of a map @function o-map-omit($map) { $-map: (); @each $key, $value in $map { - @if $value { + @if $value != null { $-map: map-merge($-map, ( $key: $value, )); -- cgit v1.2.3