Skip to content
Snippets Groups Projects
Commit 89af38d9 authored by qsm-odoo's avatar qsm-odoo
Browse files

[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: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 8e91b0ad
Branches
Tags
No related merge requests found
......@@ -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);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment