Outlook Windows (2007-2019) a un bug avec line-height en em et sans unite: le rendu est imprevisible. La solution est d'utiliser des valeurs en px avec mso-line-height-rule:exactly. templates/email/base.html.twig: - cellule contenu: line-height: 1.6 remplace par line-height: 22px avec ajout de mso-line-height-rule: exactly templates/emails/2fa_code.html.twig: - 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/forgot_password_code.html.twig: - 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/membre_created.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule - 2 listes ul: line-height: 1.8 remplace par 25px (font 14px) et 23px (font 13px) + mso-line-height-rule templates/emails/password_changed.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/revendeur_created.html.twig: - 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_access.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_attestation_signed.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_deletion.html.twig: - 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule templates/emails/rgpd_no_data.html.twig: - 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule Suppression de box-shadow dans tous les templates email (non supporte par Outlook Windows, Orange, GMX, WEB.DE, Samsung Email). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
2.0 KiB
Twig
23 lines
2.0 KiB
Twig
{% extends 'email/base.html.twig' %}
|
|
|
|
{% block title %}Attestation RGPD signee{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1 style="font-size: 20px; font-weight: bold; text-transform: uppercase; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Attestation RGPD signee</h1>
|
|
<p style="font-size: 14px; mso-line-height-rule: exactly; line-height: 22px; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Bonjour,</p>
|
|
<p style="font-size: 14px; mso-line-height-rule: exactly; line-height: 22px; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Suite a votre demande, vous trouverez en piece jointe votre <strong>attestation d'{{ typeName }}</strong>, signee electroniquement par la SARL SITECONSEIL.</p>
|
|
<div style="margin-top: 16px; margin-right: 0; margin-bottom: 16px; margin-left: 0; font-size: 13px; width: 100%;">
|
|
<div style="padding-top: 8px; padding-right: 12px; padding-bottom: 8px; padding-left: 12px; background-color: #f9fafb; border-left: 3px solid #fabf04;">
|
|
<strong>Reference</strong> {{ attestation.reference }}
|
|
</div>
|
|
<div style="padding-top: 8px; padding-right: 12px; padding-bottom: 8px; padding-left: 12px; border-left: 3px solid #fabf04;">
|
|
<strong>Date</strong> {{ attestation.createdAt|date('d/m/Y a H:i') }}
|
|
</div>
|
|
<div style="padding-top: 8px; padding-right: 12px; padding-bottom: 8px; padding-left: 12px; background-color: #f9fafb; border-left: 3px solid #fabf04;">
|
|
<strong>Type</strong> {{ typeName|capitalize }}
|
|
</div>
|
|
</div>
|
|
<p style="font-size: 14px; mso-line-height-rule: exactly; line-height: 22px; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Le certificat de signature electronique est egalement joint a cet email.</p>
|
|
<p style="font-size: 14px; mso-line-height-rule: exactly; line-height: 22px; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0;">Cordialement,<br><strong>SARL SITECONSEIL</strong></p>
|
|
{% endblock %}
|