[IMP] mass_mailing: text_highlight snippet improved

Replace bootstrap class for text alignment with inline styles
Remove Horizontal alignment on whole snippet to allow individual 
alignment on <h3> and <p> elements.

Part-of: odoo/odoo#95940
This commit is contained in:
Elisabeth Dickinson
2022-08-11 17:56:24 +02:00
committed by David Monjoie
parent 14ee23fa0a
commit 128e3baca8
2 changed files with 3 additions and 12 deletions
@@ -2,9 +2,9 @@
<odoo>
<template id="s_text_highlight" name="Text Highlight">
<div class="s_mail_text_highlight o_cc o_cc3 pt32 pb32 w-100 o_mail_snippet_general" data-snippet="s_text_highlight">
<h3 class=" text-center">Text Highlight</h3>
<p class="text-center">Put the focus on what you have to say!</p>
<div class="s_mail_text_highlight o_mail_snippet_general o_cc o_cc3 pt32 pb32 w-100" data-snippet="s_text_highlight">
<h3 style="text-align: center;">Text Highlight</h3>
<p style="text-align: center;">Put the focus on what you have to say!</p>
</div>
</template>
@@ -395,15 +395,6 @@
<we-button class="fa fa-fw fa-angle-right" data-move-snippet="next" data-no-preview="true" data-name="move_right_opt"/>
</div>
<!-- H-ALIGN -->
<div id="so_text_align" data-selector=".s_mail_text_highlight">
<we-button-group string="Alignment">
<we-button class="fa fa-fw fa-align-left" title="Left" data-select-class="text-start"/>
<we-button class="fa fa-fw fa-align-center" title="Center" data-select-class="text-center"/>
<we-button class="fa fa-fw fa-align-right" title="Right" data-select-class="text-end"/>
</we-button-group>
</div>
<div id="so_width" data-selector=".s_mail_alert .s_alert, .s_mail_blockquote, .s_mail_text_highlight">
<we-select string="Width">
<we-button data-select-class="w-25">25%</we-button>