Skip to content

Commit

Permalink
[FIX] web_editor: restore theme responsive spacing
Browse files Browse the repository at this point in the history
The factor parameter of the mixin in charge of generating the spacing
classes was not correctly used.
  • Loading branch information
qsm-odoo committed Mar 20, 2019
1 parent 2c9505f commit 2420a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/web_editor/static/src/less/web_editor.common.less
Expand Up @@ -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);
Expand Down

0 comments on commit 2420a07

Please sign in to comment.