[FIX] web_editor: restore theme responsive spacing

The factor parameter of the mixin in charge of generating the spacing
classes was not correctly used.

closes odoo/odoo#31996

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2019-03-20 15:48:34 +00:00
parent 2c9505fda7
commit 36289e77ba
@@ -164,7 +164,7 @@ ul.oe_menu_editor {
// Generate vertical margin/padding classes used by the editor
.o-generate-spacings(256/8);
.o-generate-spacings(@n, @i: 0) when (@i =< @n) {
.o-vspacing(@i * 8);
.o-vspacing(@i * 8, @factor);
.o-generate-spacings(@n, @i + 1);
}
.o-vspacing(4, @factor);