diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-04-13 15:51:22 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-04-18 15:59:21 +0200 |
| commit | cd2504c75fb7afeca2388925c4e790cda94ceeeb (patch) | |
| tree | 0a5af0f013124fdf6c7873ae2fdc6a739e8ea9f7 /addons/web/static/src/scss/form_view.scss | |
| parent | 6e4db7d13a926845bf82f5b035afede42d6d5a89 (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/static/src/scss/form_view.scss')
| -rw-r--r-- | addons/web/static/src/scss/form_view.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/scss/form_view.scss b/addons/web/static/src/scss/form_view.scss index e4dfdca3811..7aa5a6b288f 100644 --- a/addons/web/static/src/scss/form_view.scss +++ b/addons/web/static/src/scss/form_view.scss @@ -40,7 +40,7 @@ @include o-align-items(baseline); min-width: 50px; - margin: 0 -$o-form-spacing-unit/2; + margin: 0 (-$o-form-spacing-unit/2); > div, > span, > button, > label, > a, > input { // > * did not add a level of priority to the rule @include o-flex(0, 0, auto); @@ -124,7 +124,7 @@ @include o-webclient-padding($top: $o-sheet-vpadding, $bottom: $o-sheet-vpadding); .o_form_statusbar { - margin: -$o-sheet-vpadding -$o-horizontal-padding $o-sheet-vpadding -$o-horizontal-padding; + margin: (-$o-sheet-vpadding) (-$o-horizontal-padding) $o-sheet-vpadding (-$o-horizontal-padding); } } |
