diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-07-06 14:00:15 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-07-06 15:04:05 +0000 |
| commit | 89af38d9171ce8005e968d73331a7d8394a2b8ef (patch) | |
| tree | da2794e5c912c4c7a5a810c4b32e220195e11fc1 /addons/web_editor/static/src | |
| parent | 8e91b0ad3b1119b69f7a2922d1c61bb9a06529f5 (diff) | |
[FIX] web_editor: prevent o-apply-colors to force important rules
The mixin was inconsistent: depending on the color, the created rules
were `!important` or not. This causes bugs with new master features.
closes odoo/odoo#54151
X-original-commit: 83d8c8b66bd9e58b08fe0aa66d2be7bab691ce3e
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src')
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.variables.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.variables.scss b/addons/web_editor/static/src/scss/web_editor.variables.scss index c6301e6da2d..fd89f662567 100644 --- a/addons/web_editor/static/src/scss/web_editor.variables.scss +++ b/addons/web_editor/static/src/scss/web_editor.variables.scss @@ -437,6 +437,6 @@ $o-color-extras-nesting-selector: '&, .o_colored_level &'; // be avoided and use the class in XML if possible. @extend .o_cc#{$-related-color}; } @else { - @include o-bg-color(o-color($-related-color), $background: $background); + @include o-bg-color(o-color($-related-color), $background: $background, $important: false); } } |
