summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/utils.scss
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-12-21 17:08:17 +0000
committerqsm-odoo <qsm@odoo.com>2019-02-08 14:38:31 +0000
commit905d18e0445798d4fdac68f5b6f8c144e69d002f (patch)
tree05ce7cb2ed010d1eaedec4e9eda0585b442f2690 /addons/web/static/src/scss/utils.scss
parent9f21427cdf41063065ecb60371717599afdfa067 (diff)
[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
Diffstat (limited to 'addons/web/static/src/scss/utils.scss')
-rw-r--r--addons/web/static/src/scss/utils.scss4
1 files changed, 2 insertions, 2 deletions
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,
));