summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss/web_editor.ui.scss
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-04-13 15:51:22 +0200
committerqsm-odoo <qsm@odoo.com>2018-04-18 15:59:21 +0200
commitcd2504c75fb7afeca2388925c4e790cda94ceeeb (patch)
tree0a5af0f013124fdf6c7873ae2fdc6a739e8ea9f7 /addons/web_editor/static/src/scss/web_editor.ui.scss
parent6e4db7d13a926845bf82f5b035afede42d6d5a89 (diff)
[FIX] *: wrap negated variables with parenthesis
* mail, web, web_editor, website_sale Tricky difference between LESS and SCSS: `0 -$var` will be one value in SCSS (the result of 0 - $var) but two space-separated values in LESS.
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.ui.scss')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.ui.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.ui.scss b/addons/web_editor/static/src/scss/web_editor.ui.scss
index 0208a43509c..72e6dc56872 100644
--- a/addons/web_editor/static/src/scss/web_editor.ui.scss
+++ b/addons/web_editor/static/src/scss/web_editor.ui.scss
@@ -268,7 +268,7 @@ html[lang] > body.editor_enable [data-oe-translation-state] {
position: relative;
width: 100%;
height: $o-we-dropzone-size;
- margin: -$o-we-dropzone-size/2 0;
+ margin: (-$o-we-dropzone-size/2) 0;
@include o-transition(margin, 400ms, linear);
@@ -288,7 +288,7 @@ html[lang] > body.editor_enable [data-oe-translation-state] {
width: $o-we-dropzone-size;
float: left;
- margin: 0 -$o-we-dropzone-size/2;
+ margin: 0 (-$o-we-dropzone-size/2);
&:after {
width: 50%;