[IMP] mass_mailing: image_text and text_image snippets improved

Replaced bootstrap classes by inline styles.
Added .o_cc on columns to allow background color edition with builder.

Part-of: odoo/odoo#95940
This commit is contained in:
Elisabeth Dickinson
2022-08-11 17:56:22 +02:00
committed by David Monjoie
parent 46b527f9f7
commit cd65d800b4
2 changed files with 8 additions and 8 deletions
@@ -2,16 +2,16 @@
<odoo>
<template id="s_image_text" name="Image - Text">
<div class="s_text_image pt32 pb32 o_mail_snippet_general" data-snippet="s_image_text">
<div class="s_text_image o_mail_snippet_general pt32 pb32" data-snippet="s_image_text">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6 px-0">
<div class="col-lg-6 o_cc px-0">
<img src="/web/image/mass_mailing.s_image_text_default_image" class="img w-100" />
</div>
<div class="col-lg-6 pt16 pb16">
<div class="col-lg-6 o_cc pt16 pb16">
<h3>Omnichannel sales</h3>
<p class="text-justify">Get your inside sales (CRM) fully integrated with online sales (eCommerce), in-store sales (Point of Sale) and marketplaces like eBay and Amazon.</p>
<div class="text-start">
<p style="text-align: justify;">Get your inside sales (CRM) fully integrated with online sales (eCommerce), in-store sales (Point of Sale) and marketplaces like eBay and Amazon.</p>
<div style="text-align: left;">
<a href="#" class="btn btn-link">Read More</a>
</div>
</div>
@@ -5,10 +5,10 @@
<div class="s_text_image o_mail_snippet_general" data-snippet="s_text_image">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6 pt16 pb16">
<div class="col-lg-6 o_cc pt16 pb16">
<h3>A unique value</h3>
<p>The open source model of Odoo has allowed us to leverage thousands of developers and business experts to build hundreds of apps in just a few years.</p>
<div class="text-start">
<p style="text-align: justify;">The open source model of Odoo has allowed us to leverage thousands of developers and business experts to build hundreds of apps in just a few years.</p>
<div style="text-align: left;">
<a href="#" class="btn btn-link">Read More</a>
</div>
</div>