Skip to content
Permalink
Browse files

[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 #31996

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
  • Loading branch information...
qsm-odoo committed Mar 20, 2019
1 parent 2c9505f commit 36289e77baa585d2923b95e5145d7169a66f8675
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/web_editor/static/src/less/web_editor.common.less
@@ -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);

0 comments on commit 36289e7

Please sign in to comment.
You can’t perform that action at this time.