[FIX] mass_mailing: properly apply background color to cards
The background color option was applied to .card instead of .card-body. As a result, the color appeared to be applied to the border rather than to the card itself. task-2788893 closes odoo/odoo#86288 X-original-commit: 55795bd2b807c40575bd2b1c23848eed252f2feb Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
@@ -486,15 +486,20 @@
|
||||
data-color-prefix="bg-"/>
|
||||
</div>
|
||||
|
||||
<!-- COLOR, BORDER | .s_three_columns | .s_comparisons -->
|
||||
<!-- COLOR | .s_three_columns | .s_comparisons -->
|
||||
<div data-js="Box"
|
||||
data-selector=".s_three_columns .row > div, .s_comparisons .row > div"
|
||||
data-target=".card">
|
||||
<we-colorpicker string="Colors"
|
||||
data-target=".card-body">
|
||||
<we-colorpicker string="Background Color"
|
||||
data-select-style="true"
|
||||
data-no-transparency="true"
|
||||
data-css-property="background-color"
|
||||
data-color-prefix="bg-"/>
|
||||
</div>
|
||||
<!-- BORDER | .s_three_columns | .s_comparisons -->
|
||||
<div data-js="Box"
|
||||
data-selector=".s_three_columns .row > div, .s_comparisons .row > div"
|
||||
data-target=".card">
|
||||
<t t-call="mass_mailing.snippet_options_border_widgets">
|
||||
<t t-set="so_rounded_no_dependencies" t-value="True"/>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user