diff options
| author | Samuel Degueldre <sad@odoo.com> | 2020-05-04 07:23:20 +0000 |
|---|---|---|
| committer | Samuel Degueldre <sad@odoo.com> | 2020-05-05 14:40:18 +0000 |
| commit | e4c3f778ccb22fa1925398482b07a111e4a7aab4 (patch) | |
| tree | a027a6258e9cb2d92c6f610c6b533aaa784a33e9 /addons/web/static/src | |
| parent | d0946b369476fb12c82107ee7b49e455631d4c2b (diff) | |
[FIX] website: don't interpolate null values for css properties
In 29f02a37f042 we bumped the verion of libsass that we use. One
breaking change introduced by the new version is that if a css variable
is interpolated to the empty string, it is still emited in the compiled
css [1]
This commit fixes that by explicitly omitting null values from the map
before looping over it.
[1]: https://sass-lang.com/documentation/breaking-changes/css-vars
task-2248360
closes odoo/odoo#50668
X-original-commit: 6faf327706169bbe31e188a42805085b95b78052
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
